{"uid":"cap_ygLl-xjEMwzxn3oVm0ep5","slug":"x-data-gateway-profile-digest-e7d39fb8","name":"X Data Gateway – Profile Digest","description":"Profile + recent tweets + avg engagement in one call. e.g. GET /workflows/profile-digest?username=elonmusk&tweet_count=20","url":"https://x-data-gateway.annushka1190.workers.dev/workflows/profile-digest","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":["username"],"properties":{"username":{"type":"string","description":"X handle without @"},"tweet_count":{"type":"string","description":"Default 20, max 40"}}}},"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.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_exnHDKYIwLdZPH2NjiZa1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a compiled digest of a Twitter/X user's profile and recent tweet activity including engagement statistics","exampleAgentPrompt":"Pull up a profile digest for the X account @elonmusk — include the last 50 tweets and show me their average engagement stats.","exampleUseCases":[{"title":"Influencer vetting for brand deals","prompt":"I need a profile digest for the X account @mkbhd — grab the last 100 tweets and tell me their average likes and retweets so I can assess whether they're a good fit for a partnership."},{"title":"Competitive intelligence on rival accounts","prompt":"Can you pull a profile digest for @OpenAI on X, including their 30 most recent tweets and engagement summary? I want to see what they've been posting and how it's performing."},{"title":"Research briefing on a public figure","prompt":"Give me a quick digest of @sama's Twitter activity — fetch his last 20 tweets and summarize his recent posting patterns and average engagement."}],"resultDescription":"A JSON object containing the user's profile metadata (ID, username), an array of recent tweets (each with ID and text), and an activity summary with average likes, average retweets, and the number of tweets analyzed.","failureModes":["Invalid or non-existent username returns an error or empty profile","tweet_count exceeding 100 may be capped or rejected","Payment failure via x402 results in 402 response and no data","Rate limits on the underlying Twitter/X API may cause upstream errors","Private or suspended accounts may return no tweet data"],"whenToPreferThis":"Use this endpoint when you need a quick, pre-aggregated profile digest combining user metadata and recent tweet engagement stats in a single call, without managing Twitter API credentials. Ideal for AI agents that need lightweight social intelligence on demand, billed per-request in USDC with no OAuth setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:55.055Z","isFirstParty":false}