{"openapi":"3.1.0","info":{"title":"Social Sentiment & Narrative Velocity Feed","description":"Real-time narrative velocity scores, viral developer/Web3 trends and market sentiment for autonomous momentum-trading and research agents. $0.03 USDC per call via Skyfire, Coinbase x402 v2 or AgentCash.","version":"2.2.0","x-guidance":"Two paid GET endpoints return JSON. GET /v1/sentiment/velocity returns the full ranked list of emerging narratives (velocity_score 0-1, sentiment_polarity -1 to +1, key tickers or repos, one-sentence alpha_summary) plus overall_market_mood. GET /v1/sentiment/narratives/{category} returns one category (ai-agents, defi, infrastructure, meme-social). Data refreshes every 15 to 30 minutes from Hacker News, GitHub and CoinGecko. Each call costs $0.03 USDC via x402 on Base or a Skyfire pay/kya-pay token; a Skyfire kya token returns a free 2-item sample. Informational only; not financial advice.","contact":{"name":"Social Sentiment Feed","url":"https://sentiment.rdxdata.xyz"}},"paths":{"/":{"get":{"tags":["public"],"summary":"Service descriptor","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Root  Get"}}}}}}},"/health":{"get":{"tags":["public"],"summary":"Liveness and cache status","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/pricing":{"get":{"tags":["public"],"summary":"Pricing and accepted payment methods","operationId":"pricing_v1_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Pricing V1 Pricing Get"}}}}}}},"/v1/sentiment/velocity":{"get":{"tags":["commercial"],"summary":"Live narrative velocity report","operationId":"sentiment_velocity_v1_sentiment_velocity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SentimentVelocityReport"}}}},"402":{"description":"Payment Required","headers":{"Payment-Required":{"description":"Base64-encoded JSON identical to the response body","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"403":{"description":"Invalid Skyfire token (expired, bad signature, wrong environment or seller)","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Feed cache empty or unavailable; no payment is collected","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"SkyfireToken":[]},{"X402Payment":[]},{}],"x-skyfire-token-type":["kya","pay","kya-pay"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"x-x402":{"price":"$0.03","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","amount":"30000","payTo":"0xA0f3bab8f298766610005F2BCcDef6964b40b5e6","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET"},"output":{"type":"json","example":{"status":"ok","generated_at":"2026-01-01T00:00:00Z","model":"rdx-sentiment-v2","overall_market_mood":"BULLISH","emerging_narratives":[{"narrative_topic":"Example: agent-to-agent payment rails","category":"AI Agents","velocity_score":0.82,"sentiment_polarity":0.64,"key_tickers_or_repos":["example-org/agent-payments"],"alpha_summary":"Illustrative example of a one-sentence, trade-ready takeaway."}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET"]}},"required":["type","method"]},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}}},"/v1/sentiment/narratives/{category}":{"get":{"tags":["commercial"],"summary":"Narratives for one category (ai-agents, defi, infrastructure, meme-social)","operationId":"sentiment_narratives_v1_sentiment_narratives__category__get","parameters":[{"name":"category","in":"path","required":true,"description":"Narrative category slug.","schema":{"type":"string","enum":["ai-agents","defi","infrastructure","meme-social"]},"example":"ai-agents"}],"responses":{"200":{"description":"Narratives for the category","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"generated_at":{"type":"string"},"model":{"type":"string"},"overall_market_mood":{"type":"string","enum":["EUPHORIC","BULLISH","NEUTRAL","CAUTIOUS","FEARFUL"]},"category":{"type":"string","enum":["AI Agents","DeFi","Infrastructure","Meme/Social"]},"access_tier":{"type":"string","enum":["live","sample"]},"count":{"type":"integer"},"total_available":{"type":"integer"},"emerging_narratives":{"type":"array","items":{"$ref":"#/components/schemas/EmergingNarrative"}}},"required":["status","emerging_narratives"]}}}},"402":{"description":"Payment Required","headers":{"Payment-Required":{"description":"Base64-encoded JSON identical to the response body","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"403":{"description":"Invalid Skyfire token (expired, bad signature, wrong environment or seller)","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Feed cache empty or unavailable; no payment is collected","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SkyfireToken":[]},{"X402Payment":[]},{}],"x-skyfire-token-type":["kya","pay","kya-pay"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"x-x402":{"price":"$0.03","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","amount":"30000","payTo":"0xA0f3bab8f298766610005F2BCcDef6964b40b5e6","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","pathParams":{"category":"ai-agents"}},"output":{"type":"json","example":{"status":"ok","generated_at":"2026-01-01T00:00:00Z","model":"rdx-sentiment-v2","overall_market_mood":"BULLISH","emerging_narratives":[{"narrative_topic":"Example: agent-to-agent payment rails","category":"AI Agents","velocity_score":0.82,"sentiment_polarity":0.64,"key_tickers_or_repos":["example-org/agent-payments"],"alpha_summary":"Illustrative example of a one-sentence, trade-ready takeaway."}],"category":"AI Agents","count":1}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET"]},"pathParams":{"type":"object","properties":{"category":{"type":"string","enum":["ai-agents","defi","infrastructure","meme-social"]}},"required":["category"]}},"required":["type","method","pathParams"]},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]},"routeTemplate":"/v1/sentiment/narratives/:category"}}}}}},"components":{"schemas":{"EmergingNarrative":{"properties":{"narrative_topic":{"type":"string","minLength":1,"title":"Narrative Topic"},"category":{"type":"string","enum":["AI Agents","DeFi","Infrastructure","Meme/Social"],"title":"Category"},"velocity_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Velocity Score","description":"Speed of attention growth, 0.00-1.00"},"sentiment_polarity":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Sentiment Polarity","description":"-1.00 (bearish) to +1.00 (bullish)"},"key_tickers_or_repos":{"items":{"type":"string"},"type":"array","title":"Key Tickers Or Repos"},"alpha_summary":{"type":"string","minLength":1,"title":"Alpha Summary","description":"One-sentence takeaway for trading agents"}},"type":"object","required":["narrative_topic","category","velocity_score","sentiment_polarity","alpha_summary"],"title":"EmergingNarrative"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"SentimentVelocityReport":{"properties":{"status":{"type":"string","title":"Status","default":"ok"},"generated_at":{"type":"string","title":"Generated At"},"model":{"type":"string","title":"Model"},"overall_market_mood":{"type":"string","enum":["EUPHORIC","BULLISH","NEUTRAL","CAUTIOUS","FEARFUL"],"title":"Overall Market Mood"},"emerging_narratives":{"items":{"$ref":"#/components/schemas/EmergingNarrative"},"type":"array","title":"Emerging Narratives"}},"type":"object","required":["generated_at","model","overall_market_mood","emerging_narratives"],"title":"SentimentVelocityReport"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"SkyfireToken":{"type":"apiKey","in":"header","name":"kyapay-token","description":"Skyfire token header. This service accepts kya, pay, or kya-pay tokens. A kya token returns a free 2-item sample; pay and kya-pay tokens are charged $0.03 per call after the response is ready and return the live feed.","x-skyfire-token-type":["kya","pay","kya-pay"]},"X402Payment":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 v2 payment payload (base64 JSON, EIP-3009 exact, USDC on Base). $0.03 per call. A request without credentials receives HTTP 402 with the payment requirements in the Payment-Required header and the JSON body.","x-payment-protocol":"x402"}}},"servers":[{"url":"https://sentiment.rdxdata.xyz"}],"x-agentcash-guidance":{"llmsTxtUrl":"https://sentiment.rdxdata.xyz/llms.txt"},"x-skyfire-token-type":["kya","pay","kya-pay"],"x-x402":{"x402Version":2,"price":"$0.03","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","amount":"30000","payTo":"0xA0f3bab8f298766610005F2BCcDef6964b40b5e6","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"resources":["https://sentiment.rdxdata.xyz/v1/sentiment/velocity","https://sentiment.rdxdata.xyz/v1/sentiment/narratives/{category}"]},"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET"},"output":{"type":"json","example":{"status":"ok","generated_at":"2026-01-01T00:00:00Z","model":"rdx-sentiment-v2","overall_market_mood":"BULLISH","emerging_narratives":[{"narrative_topic":"Example: agent-to-agent payment rails","category":"AI Agents","velocity_score":0.82,"sentiment_polarity":0.64,"key_tickers_or_repos":["example-org/agent-payments"],"alpha_summary":"Illustrative example of a one-sentence, trade-ready takeaway."}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET"]}},"required":["type","method"]},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}