Anthropic Token Counting API

Anthropic docs.anthropic.com/en/api/messages-count-tokens

Count the number of tokens in a Message, including tools, images, and documents, without creating it. The Token Count API accepts the same structured list of inputs as Messages including system prompt

data kind undeclared Software & IT Services probed 2.5/6 apis.io

Coordinates in the economy

Capability
anthropicTokenCountingAPI · hints, unresolved
Vertical
Software & IT Services · NAICS 5112, 518, 5415
Register key
software-it-services
Class
data · bulk information good — licensed, versioned · inferred
Interfaces
rest
NAICS node
513210 · national-industry · inferred (registerKey:software-it-services)
Ruled name
apis.dev
Occupations
—
Records
—

Every offering binds one capability (the provider-independent resource) to one provider, and resolves to one category of the register board — the vertical it serves or the function it performs, with the occupations whose work it carries and the records it keeps. Browsing the directory is browsing the economy graph.

Machine face

# this entry, as data
curl https://apis.directory/apis/anthropic/anthropic-token-counting-api.json

# the whole register
curl https://apis.directory/index.json

Adjacent in the register