AVDB Tài liệu API

API REST miễn phí với hơn 471.000 phim JAV. Hỗ trợ JSON & XML, dịch đa ngôn ngữ 16 ngôn ngữ, tìm kiếm & lọc mạnh mẽ.

471K+
PHIM
16
NGÔN NGỮ
FREE
KHÔNG CẦN API KEY
REST
JSON & XML

Bắt đầu nhanh

Nhận phản hồi API đầu tiên trong vài giây. Không cần đăng ký hoặc API key.

Không cần xác thực — API hoàn toàn miễn phí và mở. Chỉ cần gửi yêu cầu HTTP GET đến bất kỳ endpoint nào.

1. LẤY PHIM MỚI NHẤT

GET https://avdbapi.com/api.php/provide/vod?ac=detail
▶ Thử trực tiếp →

2. LẤY PHIM THEO ID

GET https://avdbapi.com/api.php/provide/vod?ac=detail&ids=134
▶ Thử trực tiếp →

3. TÌM THEO MÃ JAV

GET https://avdbapi.com/api.php/provide/vod?ac=detail&wd=miaa-818
▶ Thử trực tiếp →

🔗 URL cơ sở

All API requests use the following base URLs. We provide two API formats:

Recommended Standard API — Clean key names, modern format
https://avdbapi.com/api.php/provide/vod
Maccms-Compatible API — Raw vod_ field names, for Maccms CMS
https://avdbapi.com/api.php/provide1/vod
💡
Which one to use? If you're building a custom app or website, use the provide API — it has clean, friendly field names like name, actor, category. If you're using Maccms CMS for collection, use provide1 — it matches Maccms's native field names like vod_name, vod_actor.

🔓 Xác thực

🆓
Completely Free & Open — No API key, no registration, no rate limit token required. Simply send GET requests to the endpoints. However, please be respectful with request frequency (see Giới hạn tốc độ).

📡 Standard API — Overview

The Standard API (/provide/vod) returns clean, developer-friendly JSON with simplified field names. This is the recommended API for most integrations.

Response Structure

JSON Response
{
    "code": 1,
    "msg": "Data list",
    "page": 1,
    "pagecount": 472,
    "limit": "1000",
    "total": 471707,
    "list": [ ... ],
    "class": [ ... ]        // Only in list mode
}

Video Object Fields (Detail Mode)

FieldTypeMô tả
idintUnique video ID
namestringVideo title (English)
slugstringURL-friendly slug (usually the JAV code lowercase)
origin_namestringOriginal title
movie_codestringJAV code (e.g. MIAA-818)
categoryarrayList of categories/tags (e.g. ["Amateur", "Creampie", "HD"])
type_namestringType (Censored / Uncensored / etc.)
actorarrayList of actors
directorarrayList of directors
poster_urlstringFull poster image URL
thumb_urlstringThumbnail image URL
countryarrayCountry of origin (e.g. ["Japan"])
yearstringRelease year
qualitystringVideo quality (HD, 4K, etc.)
statusstringVideo status
timestringDuration
descriptionstringFull description/synopsis
created_atstringPublish date
tagstringTags
episodesobjectEpisode/play data with streaming links

📋 Danh sách phim

Get a paginated list of all videos. Returns basic information (no descriptions or play URLs) with category index.

GET https://avdbapi.com/api.php/provide/vod?ac=list
▶ Thử trực tiếp →

List Mode Fields

In list mode, each video only contains: id, name, origin_name, type_name, category, actor, director, movie_code, country, vod_time

💡
List + Class — In list mode (not detail), the response includes a class array with all available categories. Use this to build category menus.

Example: List with Category Filter

GET https://avdbapi.com/api.php/provide/vod?ac=list&t=1&pg=2

Get page 2 of Censored videos in list mode.


🎬 Chi tiết phim

Get full details of videos including descriptions, streaming URLs, and all metadata.

GET https://avdbapi.com/api.php/provide/vod?ac=detail

Parameters

Tham sốBắt buộcMô tảVí dụ
acBắt buộcAction mode: detail or listdetail
idsTùy chọnVideo ID(s), comma-separated for multiple134 or 134,135,136
tTùy chọnCategory type ID (see Categories)1
pgTùy chọnPage number (default: 1)2
pagesizeTùy chọnResults per page (1–100, default: 1000)50
hTùy chọnVideos updated in last N hours24
yearTùy chọnFilter by year or year range2024 or 2020-2024
sort_directionTùy chọnSort order: asc or desc (default: desc)asc
isendTùy chọnCompletion status: 1 = completed, 0 = ongoing1

Ví dụ

Lấy phim theo ID:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&ids=134

Lấy nhiều phim:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&ids=134,135,136

Trang 2, 50 mỗi trang:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&pg=2&pagesize=50

Phim cập nhật trong 24 giờ:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&h=24

Videos from 2023–2024:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&year=2023-2024

Cũ nhất trước:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&sort_direction=asc


🔧 Filtering & Combining Parameters

You can combine multiple parameters to narrow results. All filters are applied with AND logic.

Ví dụ kết hợp

Censored videos from 2024, page 3:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&t=1&year=2024&pg=3

Amateur videos updated in last 48h, 20 per page:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&t=4&h=48&pagesize=20

Search actress in uncensored, oldest first:

GEThttps://avdbapi.com/api.php/provide/vod?ac=detail&actor=Yua Mikami&t=2&sort_direction=asc

📦 Định dạng phản hồi

Here's a complete example response for a detail request:

GET /api.php/provide/vod?ac=detail&ids=134
{
    "code": 1,
    "msg": "Data list",
    "page": 1,
    "pagecount": 1,
    "limit": "1000",
    "total": 1,
    "list": [
        {
            "type_name": "Censored",
            "id": 134,
            "name": "WPSL-285 A Dirty Mouth Drooling Girl...",
            "slug": "wpsl-285",
            "origin_name": "WPSL-285 A Dirty Mouth...",
            "movie_code": "WPSL-285",
            "category": ["Slut", "Cosplay", "Kiss", "HD", "Censored"],
            "actor": ["Urara Kanon"],
            "director": ["Updating"],
            "poster_url": "https://...",
            "thumb_url": "https://...",
            "country": ["Japan"],
            "year": "2025",
            "quality": "HD",
            "time": "02:19:00",
            "description": "Full description text...",
            "episodes": {
                "server_name": "VIP #1",
                "server_data": {
                    "Full": {
                        "slug": "full",
                        "link_embed": "https://..."
                    }
                }
            }
        }
    ]
}

🔌 Maccms API — Overview

The Maccms-compatible API (/provide1/vod) returns raw field names that match the Maccms CMS database schema. Use this if you're collecting data into a Maccms-based website.

GET https://avdbapi.com/api.php/provide1/vod?ac=detail
ℹ️
The provide1 API accepts the exact same parameters as provideac, ids, t, pg, pagesize, wd, actor, code, category, h, year, sort_direction, isend. The only difference is the response field names.

Ví dụ

Latest videos (Maccms format):

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&pg=1

Search by code (Maccms format):

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&wd=fc2-ppv-1766968

📑 Maccms Field Reference

Key fields returned in the provide1 detail mode:

FieldStandard API EquivalentMô tả
vod_ididVideo ID
vod_namenameVideo title
vod_subslugJAV code (lowercase)
vod_enorigin_nameOriginal/English title
vod_classcategoryCategories (comma-separated string)
vod_actoractorActors (comma-separated string)
vod_directordirectorDirector
vod_writerwriterWriter/Studio
vod_picposter_urlPoster image URL
vod_remarksmovie_codeJAV code (uppercase)
vod_areacountryCountry
vod_yearyearYear
vod_contentdescriptionFull description
vod_play_urlepisodesStreaming URLs ($$$ delimited)
vod_play_fromPlayer source names
vod_durationtimeVideo duration
vod_serialSeries title (Japanese)
vod_tagtagTags
vod_hitsView count

🌐 Multilingual API New

All API endpoints support 16 languages. Titles, descriptions, categories, and metadata are automatically translated. Simply add the language prefix to the URL.

Supported Languages

Ngôn ngữURL PrefixVí dụ
en🇬🇧 English (default)https://avdbapi.com/api.php/...No prefix needed
th🇹🇭 ไทยhttps://avdbapi.com/th/api.php/...Thử →
id🇮🇩 Indonesiahttps://avdbapi.com/id/api.php/...Thử →
ko🇰🇷 한국어https://avdbapi.com/ko/api.php/...Thử →
vi🇻🇳 Tiếng Việthttps://avdbapi.com/vi/api.php/...Thử →
zh🇨🇳 中文https://avdbapi.com/zh/api.php/...Thử →
ja🇯🇵 日本語https://avdbapi.com/ja/api.php/...Thử →
fr🇫🇷 Françaishttps://avdbapi.com/fr/api.php/...Thử →
de🇩🇪 Deutschhttps://avdbapi.com/de/api.php/...Thử →
es🇪🇸 Españolhttps://avdbapi.com/es/api.php/...Thử →
pt🇵🇹 Portuguêshttps://avdbapi.com/pt/api.php/...Thử →
ru🇷🇺 Русскийhttps://avdbapi.com/ru/api.php/...Thử →
ar🇸🇦 العربيةhttps://avdbapi.com/ar/api.php/...Thử →
tr🇹🇷 Türkçehttps://avdbapi.com/tr/api.php/...Thử →
hi🇮🇳 हिन्दीhttps://avdbapi.com/hi/api.php/...Thử →
ms🇲🇾 Malayhttps://avdbapi.com/ms/api.php/...Thử →
tl🇵🇭 Filipinohttps://avdbapi.com/tl/api.php/...Thử →
🌍
How it works: When you use a language prefix, the API translates the video title, description, categories, director, country, and type_name. The response also includes lang and lang_name metadata fields.

📂 Thể loại

Use the t parameter to filter videos by category type ID:

IDThể loạiURL mẫu
1🎬 CensoredThử →
2🔓 UncensoredThử →
3💥 Uncensored LeakedThử →
4🎥 AmateurThử →
5🇨🇳 Chinese AVThử →
6🎨 HentaiThử →
7🔤 English SubtitleThử →


📦 Định dạng XML

Both APIs support XML output format. Add at=xml to the URL or use the /at/xml path suffix.

Standard API - XML:

GET https://avdbapi.com/api.php/provide/vod/at/xml Thử →

Maccms API - XML:

GET https://avdbapi.com/api.php/provide1/vod/at/xml Thử →

💻 Ví dụ mã

Ready-to-use code snippets in popular languages.

cURL
# Get latest videos
curl "https://avdbapi.com/api.php/provide/vod?ac=detail"

# Search by JAV code
curl "https://avdbapi.com/api.php/provide/vod?ac=detail&wd=miaa-818"

# Get Vietnamese translation
curl "https://avdbapi.com/vi/api.php/provide/vod?ac=detail&ids=134"

# Get Censored videos, page 2, 50 per page
curl "https://avdbapi.com/api.php/provide/vod?ac=detail&t=1&pg=2&pagesize=50"

# Get XML format
curl "https://avdbapi.com/api.php/provide/vod/at/xml"
JavaScript (fetch)
// Search for a specific JAV code
async function searchByCode(code) {
    const url = `https://avdbapi.com/api.php/provide/vod?ac=detail&wd=${code}`;
    const response = await fetch(url);
    const data = await response.json();

    if (data.list.length > 0) {
        const video = data.list[0];
        console.log(`Title: ${video.name}`);
        console.log(`Code: ${video.movie_code}`);
        console.log(`Actor: ${video.actor.join(', ')}`);
        console.log(`Categories: ${video.category.join(', ')}`);
        console.log(`Poster: ${video.poster_url}`);
    }
}

searchByCode('MIAA-818');

// Get Vietnamese translations
const viUrl = 'https://avdbapi.com/vi/api.php/provide/vod?ac=detail&ids=134';
fetch(viUrl).then(r => r.json()).then(data => {
    console.log(data.list[0].name);  // Vietnamese title
    console.log(data.lang);              // "vi"
});
Python (requests)
import requests

# Search by actress
url = "https://avdbapi.com/api.php/provide/vod"
params = {
    "ac": "detail",
    "actor": "Yua Mikami",
    "pagesize": 20
}
response = requests.get(url, params=params)
data = response.json()

for video in data["list"]:
    print(f"{video['movie_code']} - {video['name']}")
    print(f"  Categories: {', '.join(video['category'])}")
    print(f"  Poster: {video['poster_url']}")
    print()

print(f"Total results: {data['total']}")
print(f"Pages: {data['pagecount']}")
PHP
<?php
// Fetch latest censored videos
$url = 'https://avdbapi.com/api.php/provide/vod?ac=detail&t=1&pagesize=20';
$json = file_get_contents($url);
$data = json_decode($json, true);

echo "Total: " . $data['total'] . " videos\n";

foreach ($data['list'] as $video) {
    echo $video['movie_code'] . " - " . $video['name'] . "\n";
    echo "  Actor: " . implode(', ', $video['actor']) . "\n";
    echo "  Poster: " . $video['poster_url'] . "\n\n";
}

// Maccms format for collection
$maccmsUrl = 'https://avdbapi.com/api.php/provide1/vod?ac=detail&h=24';
$maccmsData = json_decode(file_get_contents($maccmsUrl), true);
echo "Updated in 24h: " . $maccmsData['total'] . " videos\n";
?>

⚙️ Cài đặt CMS Maccms

Hướng dẫn từng bước để thêm API này làm nguồn thu thập trong CMS Maccms.

Bước 1: Thêm Nguồn Thu Thập Tùy Chỉnh

  1. Login to your Maccms admin panel
  2. Go to Collection → Custom Resources
  3. Click Add
  4. Enter the API URL:
https://avdbapi.com/api.php/provide1/vod

Bước 2: Cấu Hình Tham Số

  • Data format: JSON (default)
  • If using XML, add &at=xml parameter
  • Collection interval: Set to 1–6 hours for automatic updates
  • Incremental mode: Use &h=24 to only collect videos updated in the last 24 hours
⚠️
Important: Use provide1 (not provide) for Maccms collection. The provide1 API returns raw vod_* field names that Maccms expects.

Bước 3: Thu Thập Tăng Dần

For daily updates, use the hours parameter to only fetch recently updated videos:

GET https://avdbapi.com/api.php/provide1/vod?ac=detail&h=24

This fetches only videos added or updated in the last 24 hours, making collection faster and more efficient.


🎬 API Maccms — Chi tiết phim

Chế độ chi tiết đầy đủ trả về tất cả các trường vod_* bao gồm mô tả, URL phát và metadata. Cùng tham số với API Tiêu chuẩn.

GET https://avdbapi.com/api.php/provide1/vod?ac=detail
▶ Thử trực tiếp →

Tham số (giống API Tiêu chuẩn)

Tham sốBắt buộcMô tảVí dụ
acBắt buộcdetail = full info, list = basic infodetail
idsTùy chọnVideo ID(s), comma-separated134 or 134,135
tTùy chọnCategory type ID (1–7)1
pgTùy chọnPage number2
pagesizeTùy chọnResults per page (1–100)50
wdTùy chọnKeyword searchmiaa-818
hTùy chọnVideos updated in last N hours24
yearTùy chọnYear or year range2024
sort_directionTùy chọnasc or descasc
isendTùy chọnCompletion: 1 or 01

Ví dụ

Lấy phim theo ID:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&ids=134
▶ Thử →

Lấy nhiều phim:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&ids=134,135,136
▶ Thử →

Trang 2, 50 mỗi trang:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&pg=2&pagesize=50
▶ Thử →

Phim cập nhật trong 24 giờ qua:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&h=24
▶ Thử →

Chỉ thể loại Kiểm duyệt:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&t=1
▶ Thử →

Lọc theo năm (chỉ 2024):

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&year=2024
▶ Thử →

Khoảng năm (2020–2024):

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&year=2020-2024
▶ Thử →

Cũ nhất trước:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&sort_direction=asc
▶ Thử →

Chỉ phim đã hoàn thành:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&isend=1
▶ Thử →

Chế độ danh sách (thông tin cơ bản):

GEThttps://avdbapi.com/api.php/provide1/vod?ac=list
▶ Thử →


🔧 API Maccms — Bộ lọc kết hợp

Kết hợp tham số để có kết quả chính xác. Tất cả bộ lọc dùng logic AND.

Ví dụ kết hợp

Kiểm duyệt + năm 2024 + trang 2:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&t=1&year=2024&pg=2&pagesize=20
▶ Thử →

Không kiểm duyệt + cập nhật 48 giờ:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&t=2&h=48&pagesize=20
▶ Thử →

Nữ diễn viên + thể loại + cũ nhất trước:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&actor=Yua Mikami&t=1&sort_direction=asc
▶ Thử →

Thể loại theo loại + khoảng năm + 50 mỗi trang:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&t=3&year=2022-2024&pagesize=50
▶ Thử →

Tìm mã + chỉ đã hoàn thành:

GEThttps://avdbapi.com/api.php/provide1/vod?ac=detail&code=MIAA&isend=1
▶ Thử →
💡
XML Format: Add /at/xml to any provide1 URL for XML output:
/api.php/provide1/vod/at/xml?ac=detail&t=1

📦 API Maccms — Định dạng phản hồi

Example response showing the raw vod_* field names used by Maccms CMS:

GET /api.php/provide1/vod?ac=detail&ids=134
{
    "code": 1,
    "msg": "Data list",
    "page": 1,
    "pagecount": 1,
    "limit": "1000",
    "total": 1,
    "list": [
        {
            "vod_id": 134,
            "type_id": 1,
            "type_name": "Censored",
            "vod_name": "WPSL-285 A Dirty Mouth...",
            "vod_sub": "wpsl-285",
            "vod_en": "WPSL-285 A Dirty Mouth...",
            "vod_remarks": "WPSL-285",
            "vod_class": "Slut,Individual,Cosplay,Kiss,...",
            "vod_actor": "Urara Kanon",
            "vod_director": "",
            "vod_writer": "Waap Entertainment",
            "vod_area": "Japan",
            "vod_year": "2025",
            "vod_serial": "接吻しまくり淫口よだれ女",
            "vod_pic": "https://cdn-poster.avdb.pro/...",
            "vod_pic_thumb": "https://cdn-poster.avdb.pro/...",
            "vod_duration": "02:19:00",
            "vod_content": "Full description...",
            "vod_play_from": "VIP",
            "vod_play_url": "Full$https://surrit.com/...",
            "vod_hits": 85,
            "vod_time": "2025-04-08 03:38:35",
            // ... 60+ more vod_* fields
        }
    ]
}
💡
Key differences from Standard API:
  • categoryvod_class (comma-separated string, not array)
  • actorvod_actor (comma-separated string, not array)
  • episodesvod_play_url ($$$ delimited format)
  • All fields prefixed with vod_

⏱️ Giới hạn tốc độ

Để đảm bảo sử dụng công bằng, các giới hạn tốc độ sau được áp dụng:

Tham sốGiới hạnChi tiết
wd (search)45 req/minKeyword search requests
actor30 req/minActor search requests
director30 req/minDirector search requests
code45 req/minCode search requests
category30 req/minCategory search requests
PaginationNo limitBrowsing pages by ID or page number
💡
Tip: Pagination and ID-based requests (ids, t, pg) are not rate-limited. Only text-based search parameters have rate limits to prevent abuse.

Câu hỏi thường gặp

Sự khác biệt giữa provide và provide1 là gì?

Cùng dữ liệu, khác tên trường. provide dùng tên sạch (name, actor), provide1 dùng định dạng Maccms (vod_name, vod_actor).

API này có miễn phí không?

Có, hoàn toàn miễn phí. Không cần đăng ký, không cần API key, không có chi phí ẩn.

Có kích thước trang tối đa không?

Có, tối đa 100 kết quả mỗi trang. Mặc định là 1000 nếu không chỉ định.

Dữ liệu được cập nhật bao lâu một lần?

Cơ sở dữ liệu được cập nhật nhiều lần mỗi ngày với bản phát hành mới.

Làm thế nào để lấy nội dung đã dịch?

Thêm tiền tố ngôn ngữ vào URL. Ví dụ: /vi/api.php/... cho tiếng Việt.

Bạn có hỗ trợ CORS không?

Có, CORS được bật cho tất cả các nguồn.

Tôi có thể sử dụng cho dự án thương mại không?

Có, API miễn phí cho cả sử dụng cá nhân và thương mại.

Tôi có thể kết hợp nhiều bộ lọc không?

Có, tất cả tham số có thể kết hợp. Chúng dùng logic AND.


AVDB API — 471K+ Videos • 16 Languages • Free Forever

📱 Telegram✉️ Email