Operation contract · TikTok
social.tiktok.hashtag.videos.search
Searches public videos associated with one hashtag; results are a sample, not total hashtag volume.
Unavailable at captureTikTok hashtag videosAsync: yesSync: not supported
Unavailable at capture
Generated from the runtime contract. Examples are illustrative; verify optional fields against the live schema.
Contract identity
- Contract version
- 1.0.0
- Last verified
- Executable operations
- 11 / 40
Verified means the contract snapshot on this date was read and matched to the page. It is not a promise that an operation is live for your workspace.
Runtime contract description
Searches public videos associated with one hashtag; results are a sample, not total hashtag volume.
Input schema
| Field | Type | Required | Constraints / default | Description |
|---|---|---|---|---|
| (body) | object | Required | additional properties: false | Field description is not supplied by the contract. |
| hashtag | string | Required | min length: 1 · max length: 100 · pattern: ^[^\s#]+$ | Field description is not supplied by the contract. |
| limit | integer | Optional | min: 1 · max: 100 · default: 20 | Maximum number of records to return. |
Request example
Request example
{
"operation": "social.tiktok.hashtag.videos.search",
"input": {
"hashtag": "photography",
"limit": 20
},
"mode": "async"
}cURL
curl --fail-with-body -X POST https://api.datapi.ir/v1/requests \
-H "Authorization: Bearer $DATAPI_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"operation":"social.tiktok.hashtag.videos.search","input":{"hashtag":"photography","limit":20},"mode":"async"}'Output schema
| Field | Type | Required | Constraints / default | Description |
|---|---|---|---|---|
| (body) | object | Required | additional properties: false | Field description is not supplied by the contract. |
| items | array<object> | Required | max items: 100 | Field description is not supplied by the contract. |
| items[] | object | Required | additional properties: false | Field description is not supplied by the contract. |
| items[].id | string | Optional | — | Field description is not supplied by the contract. |
| items[].url | string (uri) | Optional | format: uri | Field description is not supplied by the contract. |
| items[].author_id | string | Optional | — | Field description is not supplied by the contract. |
| items[].author_username | string | Optional | — | Field description is not supplied by the contract. |
| items[].author_name | string | Optional | — | Field description is not supplied by the contract. |
| items[].title | string | Optional | — | Field description is not supplied by the contract. |
| items[].text | string | Optional | — | Field description is not supplied by the contract. |
| items[].published_at | string (date-time) | Optional | format: date-time | Field description is not supplied by the contract. |
| items[].content_type | string | Optional | — | Field description is not supplied by the contract. |
| items[].likes_count | integer | Optional | min: 0 | Field description is not supplied by the contract. |
| items[].comments_count | integer | Optional | min: 0 | Field description is not supplied by the contract. |
| items[].shares_count | integer | Optional | min: 0 | Field description is not supplied by the contract. |
| items[].views_count | integer | Optional | min: 0 | Field description is not supplied by the contract. |
| items[].hashtags | array<string> | Optional | — | Field description is not supplied by the contract. |
| items[].hashtags[] | string | Required | — | Field description is not supplied by the contract. |
| items[].mentions | array<string> | Optional | — | Field description is not supplied by the contract. |
| items[].mentions[] | string | Required | — | Field description is not supplied by the contract. |
| items[].media_urls | array<string (uri)> | Optional | — | Field description is not supplied by the contract. |
| items[].media_urls[] | string (uri) | Required | format: uri | Field description is not supplied by the contract. |
| items[].thumbnail_url | string (uri) | Optional | format: uri | Field description is not supplied by the contract. |
| items[].media_types | array<string> | Optional | — | Field description is not supplied by the contract. |
| items[].media_types[] | string | Required | — | Field description is not supplied by the contract. |
| items[].audio_title | string | Optional | — | Field description is not supplied by the contract. |
| items[].audio_artist | string | Optional | — | Field description is not supplied by the contract. |
| items[].audio_url | string (uri) | Optional | format: uri | Field description is not supplied by the contract. |
| items[].location_name | string | Optional | — | Field description is not supplied by the contract. |
| items[].language | string | Optional | — | Field description is not supplied by the contract. |
| items[].duration_seconds | number | Optional | min: 0 | Field description is not supplied by the contract. |
| items[].is_paid_partnership | boolean | Optional | — | Field description is not supplied by the contract. |
| items[].is_repost | boolean | Optional | — | Field description is not supplied by the contract. |
| items[].is_reply | boolean | Optional | — | Field description is not supplied by the contract. |
| items[].observed_at | string (date-time) | Optional | format: date-time | Field description is not supplied by the contract. |
Example result
This is the eventual operation data, not the HTTP 202 acceptance response or a live result. Submit the request, poll its status, then retrieve the result after success.
Example result
{
"items": []
}How to call it
- Check availability with GET /v1/operations/{operation_id}.
- POST {operation, input, mode:"async"} to /v1/requests with an Idempotency-Key.
- Poll status_url or wait for the signed completion webhook.
- Read result_url only when result.available is true; 409 result_not_ready means wait, 410 result_expired means re-run the work.
Availability and limits
This operation was not executable when captured (source_not_configured). It performs no source work; check the live availability state.
- All current operations support async only; mode=sync returns mode_not_supported.
- Size and runtime limits are declared by this operation contract; do not treat them as a global SLA.
- Results remain available for the retention window after success, then return 410.
Analytics computed from this data
An operation collects data; a metric family turns it into a number. These families are computed from this platform and data type, and each one states its formula and limits.