# API reference

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

Every /v1 endpoint with its parameters, schemas, price and samples, plus the webhook events and error codes.

## Endpoints

Every `/v1` operation, grouped by what it works on. Each has its own page with parameters, schemas, price and samples in curl, TypeScript and Python.

| Tag | Operations |
| --- | --- |
| [Research](https://www.shortsintel.com/docs/reference/research) One intent in plain language, a Digest back: themes, hooks that work verbatim, sentiment, recommended angles, and the ranked videos, creators, hashtags and sounds behind them. | 8 |
| [Creator Breakdown](https://www.shortsintel.com/docs/reference/breakdowns) What works for a set of Creators: a Research seeded with Creators, each Video scored against its own Creator's median. Reads answer as their Research counterparts. | 8 |
| [Videos](https://www.shortsintel.com/docs/reference/videos) Search, look up, enrich, score and read the comments of short-form videos across TikTok, Instagram Reels and YouTube Shorts. | 9 |
| [Creators](https://www.shortsintel.com/docs/reference/creators) Creator profiles, their stored videos, their baseline metrics and their follower history. | 4 |
| [Hashtags](https://www.shortsintel.com/docs/reference/hashtags) Hashtag stats, trend direction and the videos carrying a tag. | 2 |
| [Sounds](https://www.shortsintel.com/docs/reference/sounds) Sound and music metadata, usage counts and the videos using a track. | 2 |
| [Keywords](https://www.shortsintel.com/docs/reference/keywords) What a platform's search shows for a phrase: sample stats, trend direction and the top videos. | 1 |
| [Ads](https://www.shortsintel.com/docs/reference/ads) Keyword and advertiser search over ad libraries. | 12 |
| [Trackers](https://www.shortsintel.com/docs/reference/trackers) Daily watches on a creator, a hashtag, a sound, a keyword (a search phrase on one Platform) or an Advertiser, with Snapshots kept forever and a Change Report only when something notable moves. Creator, hashtag, sound, keyword and advertiser Trackers are the kinds available today. | 11 |
| [Collections](https://www.shortsintel.com/docs/reference/collections) Named sets of Trackers of one kind, such as Competitors or Our accounts. A Tracker can sit in several and is still charged once per cycle; a Collection holds no state of its own. | 10 |
| [Runs](https://www.shortsintel.com/docs/reference/runs) Every charged operation creates a Run; free reads and edits do not. Re-read one to poll a long operation or to fetch a result you already paid for; re-reads are always free. | 3 |
| [Account](https://www.shortsintel.com/docs/reference/account) Prepaid balance, the spend log, and Assistant Feedback. | 3 |
| [Webhooks](https://www.shortsintel.com/docs/reference/webhooks) Signed HTTP callbacks for `run.completed` and `tracker.changed`, with a delivery log and replay. The signature header, event types and payload are described under 'Webhook delivery and verification' in llms-full.txt and in the OpenAPI `webhooks` section. | 7 |

## Webhook events

The signed bodies we send to your webhook endpoints: [`run.completed`](https://www.shortsintel.com/docs/reference/events/run.completed), [`tracker.changed`](https://www.shortsintel.com/docs/reference/events/tracker.changed), [`webhook.test`](https://www.shortsintel.com/docs/reference/events/webhook.test). [All webhook events](https://www.shortsintel.com/docs/reference/events).

## Errors

Every error is a problem document with a stable `code` and a `type` URL that links to the code's page. [All 39 codes](https://www.shortsintel.com/docs/reference/errors), by group:

- Credentials: [`missing_authorization`](https://www.shortsintel.com/docs/reference/errors/missing_authorization), [`invalid_key`](https://www.shortsintel.com/docs/reference/errors/invalid_key), [`key_revoked`](https://www.shortsintel.com/docs/reference/errors/key_revoked), [`key_expired`](https://www.shortsintel.com/docs/reference/errors/key_expired), [`invalid_token`](https://www.shortsintel.com/docs/reference/errors/invalid_token), [`organization_not_selected`](https://www.shortsintel.com/docs/reference/errors/organization_not_selected), [`organization_access_revoked`](https://www.shortsintel.com/docs/reference/errors/organization_access_revoked), [`connection_revoked`](https://www.shortsintel.com/docs/reference/errors/connection_revoked), [`forbidden`](https://www.shortsintel.com/docs/reference/errors/forbidden), [`key_scope_insufficient`](https://www.shortsintel.com/docs/reference/errors/key_scope_insufficient)
- The request itself: [`invalid_request`](https://www.shortsintel.com/docs/reference/errors/invalid_request), [`unsupported_platform`](https://www.shortsintel.com/docs/reference/errors/unsupported_platform), [`unsupported_kind`](https://www.shortsintel.com/docs/reference/errors/unsupported_kind), [`kind_deprecated`](https://www.shortsintel.com/docs/reference/errors/kind_deprecated), [`focus_unsupported_kind`](https://www.shortsintel.com/docs/reference/errors/focus_unsupported_kind), [`feature_unavailable`](https://www.shortsintel.com/docs/reference/errors/feature_unavailable), [`video_too_long`](https://www.shortsintel.com/docs/reference/errors/video_too_long), [`not_analysable`](https://www.shortsintel.com/docs/reference/errors/not_analysable), [`not_found`](https://www.shortsintel.com/docs/reference/errors/not_found), [`comment_not_found`](https://www.shortsintel.com/docs/reference/errors/comment_not_found), [`idempotency_conflict`](https://www.shortsintel.com/docs/reference/errors/idempotency_conflict), [`run_not_ready`](https://www.shortsintel.com/docs/reference/errors/run_not_ready), [`advertiser_ambiguous`](https://www.shortsintel.com/docs/reference/errors/advertiser_ambiguous), [`collection_kind_mismatch`](https://www.shortsintel.com/docs/reference/errors/collection_kind_mismatch), [`collection_name_taken`](https://www.shortsintel.com/docs/reference/errors/collection_name_taken)
- Money: [`insufficient_balance`](https://www.shortsintel.com/docs/reference/errors/insufficient_balance), [`max_credits_exceeded`](https://www.shortsintel.com/docs/reference/errors/max_credits_exceeded), [`key_spend_cap_exceeded`](https://www.shortsintel.com/docs/reference/errors/key_spend_cap_exceeded)
- Limits: [`rate_limit_exceeded`](https://www.shortsintel.com/docs/reference/errors/rate_limit_exceeded), [`concurrency_limit_exceeded`](https://www.shortsintel.com/docs/reference/errors/concurrency_limit_exceeded), [`tracker_limit_exceeded`](https://www.shortsintel.com/docs/reference/errors/tracker_limit_exceeded), [`collection_limit_exceeded`](https://www.shortsintel.com/docs/reference/errors/collection_limit_exceeded), [`webhook_limit_exceeded`](https://www.shortsintel.com/docs/reference/errors/webhook_limit_exceeded), [`webhook_rotation_in_progress`](https://www.shortsintel.com/docs/reference/errors/webhook_rotation_in_progress)
- Upstream and ours: [`media_unavailable`](https://www.shortsintel.com/docs/reference/errors/media_unavailable), [`vendor_error`](https://www.shortsintel.com/docs/reference/errors/vendor_error), [`source_unavailable`](https://www.shortsintel.com/docs/reference/errors/source_unavailable), [`service_unavailable`](https://www.shortsintel.com/docs/reference/errors/service_unavailable), [`internal_error`](https://www.shortsintel.com/docs/reference/errors/internal_error)

## OpenAPI document

The same operations as an OpenAPI 3 document, for Postman, Insomnia or a code generator: [Download OpenAPI](https://www.shortsintel.com/docs/openapi.json) (`/docs/openapi.json`). Or fork the ready-made [Postman collection](https://www.postman.com/shortsintel-official/shortsintel-api), which has every operation with Bearer auth preset.

One JSON Schema per object (Video, Creator, Comment, Ad and more), the null rule and the metric names: [Objects and schemas](https://www.shortsintel.com/docs/concepts/objects).

## Data and legal

- [Data and retention](https://www.shortsintel.com/docs/concepts/data-and-retention): what we store, for how long, and how to delete it.
- [Terms of service](https://www.shortsintel.com/terms)
- [Privacy policy](https://www.shortsintel.com/privacy)

[Previous Pricing](https://www.shortsintel.com/docs/pricing)[Next Research](https://www.shortsintel.com/docs/reference/research)
