xfetch API
X posts, X profiles. 5 documented operations.
API capabilities
2 tasks covered in the catalog.
Documented operations
Provider routes and credentials are separate from All Them APIs.
User mediaX postsGET /v1/users/{id}/media
- Inputs
- id; next_token
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
post IDtextauthor IDcreated atlanguageconversation IDpossibly sensitivelike countrepost countreply countquote countbookmark countview countdisplay text rangeis quotequoted post IDquoted postin reply to user IDentitieshashtagsURLsuser mentionsmediarequest ID
User tweet repliesX postsGET /v1/users/{id}/tweets/replies
- Inputs
- id; next_token
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
post IDtextauthor IDcreated atlanguageconversation IDpossibly sensitivelike countrepost countreply countquote countbookmark countview countdisplay text rangeis quotequoted post IDquoted postin reply to user IDentitieshashtagsURLsuser mentionsmediarequest ID
User tweetsX postsGET /v1/users/{id}/tweets
- Inputs
- id; next_token
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
post IDtextauthor IDcreated atlanguageconversation IDpossibly sensitivelike countrepost countreply countquote countbookmark countview countdisplay text rangeis quotequoted post IDquoted postin reply to user IDentitieshashtagsURLsuser mentionsmediarequest ID
Profile by usernameX profilesGET /v1/profiles/by-username/{username}
- Inputs
- username
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
user IDusernamenamebiolocationaccount createdverifiedprotectedprofile picturefollowersfollowingposts countmedia countstatusrequest IDcredits consumedcredits remainingrecent posts
User by usernameX profilesGET /v1/users/by-username/{username}
- Inputs
- username
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
user IDusernamenamebiolocationaccount createdverifiedprotectedprofile picturefollowersfollowingposts countmedia countstatusrequest IDcredits consumedcredits remaining
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 |
|---|---|---|---|
| Free | free | $0.00 | X profiles, X posts |
| Growth monthly | monthly | $49.00 | X profiles, X posts |
| Pay as you go | one-time | $10.00 | X profiles, X posts |
| Pro monthly | monthly | $129.00 | X profiles, X posts |
| Scale monthly | monthly | $349.00 | X profiles, X posts |
| Starter monthly | monthly | $19.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 xfetch.
Read the official provider documentation before choosing authentication, request fields or a plan:
https://xfetch.io/docs/api-reference
https://xfetch.io/docs/api-reference/twitter-profile-api
https://xfetch.io/docs/api-reference/twitter-timeline-api
Catalog operations to verify against the current documentation:
- User media: GET /v1/users/{id}/media; inputs: id; next_token
- User tweet replies: GET /v1/users/{id}/tweets/replies; inputs: id; next_token
- User tweets: GET /v1/users/{id}/tweets; inputs: id; next_token
- Profile by username: GET /v1/profiles/by-username/{username}; inputs: username
Read credentials from a server-only environment variable such as PROVIDER_XFETCH_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
- See each operation and confirm the provider's current access requirements.
- 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.