twit.sh API
X posts, X profiles. 4 documented operations.
API capabilities
2 tasks covered in the catalog.
Documented operations
Provider routes and credentials are separate from All Them APIs.
Get tweets from user timelineX postsGET /tweets/user
- Inputs
- username; next_token
- Authentication
- none
- Listed response fields
post IDtextnext cursor
Bulk look up users by IDsX profilesGET /users
- Inputs
- ids
- Authentication
- none
- Listed response fields
user IDnameusernamebiofollowersverified
Look up user by numeric IDX profilesGET /users/by/id
- Inputs
- id
- Authentication
- none
- Listed response fields
user IDnameusernamebiofollowersverified
Look up user by screen nameX profilesGET /users/by/username
- Inputs
- username
- Authentication
- none
- Listed response fields
user IDnameusernamebiofollowersverified
Plans & pricing references
Listed fees retain the source billing period and currency. Check the provider for allowances, overages and current terms.
| Plan | Billing | Listed fee | Coverage |
|---|---|---|---|
| MPP | on-demand | $0.00 | X profiles, X posts |
| x402 | on-demand | $0.00 | X profiles, X posts |
Matching plan fees are grouped across operations. Included credits, metered rates and allowances can differ by operation; consult the official pricing reference.
Coding agent prompt
Prepare the adapter with the provider's documentation and your own account.
Build a server-side integration for twit.sh.
Read the official provider documentation before choosing authentication, request fields or a plan:
https://x402.twit.sh/openapi.json
Catalog operations to verify against the current documentation:
- Get tweets from user timeline: GET /tweets/user; inputs: username; next_token
- Bulk look up users by IDs: GET /users; inputs: ids
- Look up user by numeric ID: GET /users/by/id; inputs: id
- Look up user by screen name: GET /users/by/username; inputs: username
Read credentials from a server-only environment variable such as PROVIDER_TWIT_SH_API_KEY; confirm the actual authentication scheme in the provider docs. Never expose credentials in browser code, URLs or logs.
Add bounded timeouts, explicit 401/403/429 handling, input validation and fixture-based tests. Preserve missing values and provider identifiers. Do not run paid or personal-data queries without approval. This is the provider's interface, not an All Them APIs execution endpoint.
If an endpoint, field, account permission or rate limit cannot be confirmed, list the missing requirement instead of inventing a working request. Return the adapter, tests and exact verification steps.Sources & integration checks
- Public source check
- Official source fetched · Nov 25, 2026
- Catalog source date
- Nov 5, 2026
- Authentication reference
- none
- Before using in production
- Verify coverage, accepted-result billing, rate limits, data freshness and permitted use for your workload.
Catalog data: Datacircle, CC BY 4.0. Provider sources and check dates are recorded separately. Catalog prices and operations are references, not an Agent Bench result.