twitter.profile. The transport rules that apply to every API a seller serves - signed requests, the response envelope, timeouts, and body limits - are on the operator endpoint contract.
The price you compete with
AnyAPI publishes this API from $0.22 per 1,000 requests. That is the price a buyer sees today, so it is the price your endpoint has to come in under to win traffic.The request your endpoint receives
Full input JSON Schema
Full input JSON Schema
The response your endpoint must return
Extra fields are kept, missing declared fields fail.
Full output JSON Schema
Full output JSON Schema
Fields that must never come back empty
avatarUrlbiodisplayNamehandle
Not found, and how it differs from empty
When the entity does not exist, answer 2xx with the not-found shape:found: true and an empty pinnedPostIds array.
This output schema declares no reason field, so found: false is the whole not-found answer.
Example request
Behavior
- The input is a handle with no leading @, and username is accepted as another spelling of handle.
- There is no empty result: a handle with no account behind it returns found false with data null.
- A found profile always carries handle, displayName, followers, following, tweets, bio, verified, avatarUrl and website, using an empty string or zero for a value the account has not set rather than dropping the key.
- createdUtc is the account creation time as a UTC epoch in seconds, not a date string.
Next
- The operator endpoint contract for signing, budgets, and the live trial.
- Every API open to sellers.
- Want to sell an API that is not on that list? Email support@getanyapi.com.