{"uid":"cap_Cf4pD120_3V3jwLhihF01","slug":"x-data-gateway-get-following-list-b65988e9","name":"X Data Gateway — Get Following List","description":"One page of accounts followed by numeric user ID (GraphQL Following when available). e.g. GET /users/following?id=44196397","url":"https://x-data-gateway.annushka1190.workers.dev/users/following","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Numeric X user ID"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vEMRQzhmtyiS3hYypNfDU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the list of accounts that a given X/Twitter user is following, identified by numeric user ID","exampleAgentPrompt":"Pull the list of accounts that X user ID 123456789 is currently following so I can analyze their social graph.","exampleUseCases":[{"title":"Influencer network mapping","prompt":"I want to see everyone that Twitter user 44196397 is following — give me their full following list so I can map out their network connections."},{"title":"Competitor social graph audit","prompt":"Fetch the following list for X account ID 6253282 so I can see which industry accounts and competitors they're keeping tabs on."},{"title":"Web3 community discovery","prompt":"Get me the accounts that X user ID 998877665 follows — I'm trying to find which crypto and DeFi projects they're engaged with."}],"resultDescription":"A JSON object with a `data` field containing an array of X user account objects that the specified user is following, including profile metadata such as usernames, display names, and account details as returned by the X API.","failureModes":["Invalid or non-numeric user ID returns an error or empty result","Private/protected X accounts may not expose following lists","Rate limiting on the upstream X API may cause temporary failures","User ID does not exist returns a not-found error","Missing required `id` query parameter returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need the following list for a specific X/Twitter user by their numeric ID, especially in agent workflows that require no API key setup and can pay per call in USDC via x402 on Base or Solana. Prefer this over direct Twitter API access when you want a lightweight, pay-as-you-go REST call without OAuth credential management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:21.822Z","isFirstParty":false}