๐Ÿ’ฐ TokenWatchWyrdWerkGitHubLinkedInX

TokenWatch API documentation

Public JSON endpoints for model, provider, image, and video pricing

Public JSON API

All endpoints accept GET requests and return JSON with permissive CORS headers. List endpoints paginate with limit and offset; the limit is clamped to 1โ€“500 and defaults to 100.

TokenWatch API endpoints
EndpointResponseQuery parametersSort values
/api/v1/API metadata and endpoint directoryโ€”โ€”
/api/v1/modelsList text-generation model offeringsorg, provider, min_context, min_output, min_intelligence, quantization, cache_read, cache_write, promo, zdr, sub, benchmarked, search, sort, order, limit, offsetid, input, output, cache_read, cache_write, context, max_output, uptime, discount, intelligence, coding, agentic
/api/v1/models/:canonicalId/providersList providers for one canonical model, ordered by costtokens, mixโ€”
/api/v1/statsReturn catalog, provider, organization, privacy, cache, and quantization countsโ€”โ€”
/api/v1/orgsList model organizations with offering countsโ€”โ€”
/api/v1/providersList provider metadata and policy fieldszdrโ€”
/api/v1/imagesList image-generation modelsorg, provider, search, sort, order, limit, offsetid, org, provider
/api/v1/images/:idReturn one image model with its pricing variantsโ€”โ€”
/api/v1/videosList video-generation modelsorg, provider, search, sort, order, limit, offsetid, org, provider
/api/v1/videos/:idReturn one video model with its pricing variantsโ€”โ€”

Examples

curl 'https://tokenwatch.wyrdwerk.com/api/v1/models?provider=aster&sort=input&limit=20'
curl 'https://tokenwatch.wyrdwerk.com/api/v1/models/glm-5.2/providers?tokens=1000000&mix=30,50,20'
curl 'https://tokenwatch.wyrdwerk.com/api/v1/providers?zdr=true'
curl 'https://tokenwatch.wyrdwerk.com/api/v1/videos?provider=fal&limit=25'

Errors and freshness

Malformed model-ID encoding returns HTTP 400, unknown routes return 404, and unavailable catalog assets return 503. Every catalog response includes its source generation timestamp. Raw API and JSON files are marked noindex; this page is the crawlable reference.

Embeddable pricing cards

The widget demo shows the Shadow DOM pricing card. Add data-tw-model to an element and load https://tokenwatch.wyrdwerk.com/widget/embed.js.