TAPSAVE OPEN API

Add media parsing with one endpoint

Parse public media through one stable REST endpoint. One credit is charged only when usable resources are returned; failed requests are free.

REST / JSONOne parsing endpointNo charge on failure
POST /openapi/parse
curl -X POST https://api.videotool.cc/openapi/parse \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://..."}'
200 OK1 credit

01 · Quickstart

Send a parsing request

Add your API key to the request header and submit one public media URL in the JSON body.

curl -X POST https://api.videotool.cc/openapi/parse \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://..."}'

02 · Authentication

Authenticate with an API key

Send X-API-Key with each request. View or rotate the key in the API console.

X-API-KeyYOUR_API_KEY

Keep API keys on your server. Never place one in browser JavaScript, a mobile binary, or a public repository.

03 · Endpoint

Available endpoint

POST/openapi/parseSingle URL

Parse one public media URL

Submit one public post or video URL. One credit is charged after usable resources are returned.

urlstring · requiredPublic post or video URL

04 · Response

Successful response

A successful call returns ParseResult in the standard AjaxResult wrapper, grouped into video, image, audio, and text resources.

{
  "code": 200,
  "msg": "操作成功",
  "data": {
    "resultCode": 0,
    "hasResource": true,
    "resourceType": 200,
    "descList": ["..."],
    "imgList": [],
    "videoList": [],
    "audioList": []
  }
}

05 · Errors

Business error codes

codeMeaningCharge
400Missing or invalid URLNot charged
401Missing, invalid, or disabled API keyNot charged
403Insufficient creditsNot charged
422No usable resource was returnedNot charged
500Parsing service errorNot charged

06 · Billing

Charge successful results only

1credit charged when usable resources are returned
0credits charged for failures, errors, or empty results
Current scope

The Open API exposes only POST /openapi/parse for one URL. Batch, capabilities, idempotency cache, and rate-limit endpoints are not provided.