{"name":"X Data Gateway","discovery":["/openapi.json","/.well-known/x402","/llms.txt","/v1/capabilities"],"routes":[{"path":"/users/by/username","method":"GET","summary":"User profile by username","description":"Full profile lookup by X handle (no @).","priceUsd":"0.005","amount":"5000","params":[{"name":"username","required":true,"description":"X handle, no @ (e.g. elonmusk)"}]},{"path":"/users/by/id","method":"GET","summary":"User profile by numeric ID","description":"Full profile lookup by numeric X user ID.","priceUsd":"0.005","amount":"5000","params":[{"name":"id","required":true,"description":"Numeric X user ID"}]},{"path":"/tweets/by/id","method":"GET","summary":"Single tweet by ID","description":"Full tweet incl. author profile, engagement metrics, referenced tweets.","priceUsd":"0.005","amount":"5000","params":[{"name":"id","required":true,"description":"Numeric tweet ID"}]},{"path":"/tweets","method":"GET","summary":"Bulk tweet lookup","description":"Up to 50 comma-separated numeric tweet IDs in one call.","priceUsd":"0.01","amount":"10000","params":[{"name":"ids","required":true,"description":"Comma-separated numeric tweet IDs, max 50"}]},{"path":"/tweets/user","method":"GET","summary":"User timeline","description":"Recent tweets from a user, newest first.","priceUsd":"0.01","amount":"10000","params":[{"name":"username","required":true,"description":"X handle, no @"}]},{"path":"/tweets/search","method":"GET","summary":"Advanced tweet search","description":"Filtered search. At least one of the filter parameters is required.","priceUsd":"0.01","amount":"10000","params":[{"name":"words","required":false,"description":"Words that must appear"},{"name":"phrase","required":false,"description":"Exact phrase match"},{"name":"hashtags","required":false,"description":"Comma-separated hashtags, no #"},{"name":"from","required":false,"description":"Only tweets from this username"},{"name":"minLikes","required":false,"description":"Minimum like count"},{"name":"since","required":false,"description":"Start date, YYYY-MM-DD"},{"name":"until","required":false,"description":"End date, YYYY-MM-DD"}]},{"path":"/tweets/replies","method":"GET","summary":"Replies to a tweet","description":"Replies to a given tweet ID.","priceUsd":"0.015","amount":"15000","params":[{"name":"id","required":true,"description":"Numeric tweet ID"}]},{"path":"/users/followers","method":"GET","summary":"Followers of a user","description":"Followers of a given numeric user ID.","priceUsd":"0.015","amount":"15000","params":[{"name":"id","required":true,"description":"Numeric X user ID"}]},{"path":"/users/search","method":"GET","summary":"Search user accounts","description":"Search X accounts by keyword.","priceUsd":"0.015","amount":"15000","params":[{"name":"query","required":true,"description":"Keyword or phrase to search accounts for"}]},{"path":"/workflows/profile-digest","method":"GET","summary":"Aggregated profile + activity digest","description":"Profile + recent tweets + basic engagement stats in one call.","priceUsd":"0.35","amount":"350000","params":[{"name":"username","required":true,"description":"X handle, no @"},{"name":"tweet_count","required":false,"description":"How many recent tweets to include (default 20, max 40)"}]}]}