API Documentation

Call the parse endpoint with your auth key. The system auto-detects the platform and returns video/image URLs.Available to active subscribers only.

My API Key

After copying, append the target URL after url= (encode non-ASCII URLs).

Online Test

Click a button above to start testing...

Basic Info

Base URLhttps://onccg.com/api/v1
MethodGET
AuthenticationURL parameter key (auth key)
Response FormatJSON

API is available to active subscribers only. Quota follows the same rules as the website parser.

Supported Platforms

The API matches website parsing capabilities and supports 500+ platforms. Pass a post URL and the system routes by domain automatically.

China Platforms

快手小红书微博哔哩哔哩西瓜视频皮皮虾微视最右全民K歌好看视频梨视频美拍秒拍火山小视频开眼小咖秀Vue Vlog陌陌比心

Global Social / Short Video

TikTokX (Twitter)FacebookThreadsSnapchatPinterestRedditTumblrLinkedInLikeeKwaiTriller

Global Video / Live

VimeoTwitchDailymotionAfreecaTVNiconicoRumbleStreamableVidyard

AI / Other

豆包 AI即梦 AI视频号More sites…

Examples above are common platforms; actual coverage is broader. If a link fails, retry later or try another link.

1. Parse API

GET/api/v1/parse

Request Parameters

ParameterRequiredDescription
keyYesAuth key (API Key)
urlYesTarget post URL, URL-encoded

Platform Detection

No platform parameter is required. Routing is automatic by domain. See Supported Platforms above.

Request Example

curl "https://onccg.com/api/v1/parse?key=your_auth_key&url=https%3A%2F%2Fv.douyin.com%2Fxxxxx%2F"

Success Response

{
  "code": 200,
  "message": "success",
  "data": {
    "platform": "general",
    "title": "Video title",
    "type": "video",
    "cover": "https://...",
    "videoUrl": "https://...",
    "videos": [
      {
        "video": "https://...",
        "quality": "HD"
      }
    ],
    "images": []
  }
}

videoUrl is the primary video URL from upstream; videos maps to upstream videodata with quality fields. type may be video, images, or mixed.

2. Quota API

GET/api/v1/quota

Request Parameters

ParameterRequiredDescription
keyYesAuth key (API Key)

Request Example

curl "https://onccg.com/api/v1/quota?key=your_auth_key"

Success Response (subscriber example)

{
  "code": 200,
  "message": "success",
  "data": {
    "type": "subscription",
    "plan_type": "monthly",
    "remaining_quota": 1000,
    "daily_limit": 100,
    "today_usage": 3,
    "daily_remaining": 97,
    "expires_at": "2026-08-01 12:00:00"
  }
}

Error Codes

codeDescription
200Success
40001Invalid or missing API Key
40002Missing or invalid URL parameter
40301Insufficient quota or daily limit reached
40302Not a subscriber or subscription expired
42901Too many requests
50001Parse failed
50002Upstream parse service error

Usage Notes

  • API is for active subscribers only. Free users cannot call it.
  • Both successful and failed parses consume subscription quota, same as the website.
  • Keep your auth key secure. Reset it on this page if leaked.
  • Avoid Chinese characters or spaces in URLs; use a fully URL-encoded address.