{"openapi":"3.1.0","info":{"title":"RDX Alpha & Grants Oracle","description":"Pre-vetted Web3 grants, open developer bounties and tokenless-protocol airdrop opportunities on Base, Arbitrum, Optimism and Solana, scored for autonomous agents. Pay $0.03 USDC per call via Skyfire, Coinbase x402 v2 or AgentCash.","version":"2.2.0","x-guidance":"Use GET /v1/alpha/opportunities for the full ranked feed, or GET /v1/alpha/type/{airdrop-farming|developer-bounty|ecosystem-grant} for a single type. Narrow results with the optional query parameters chain (Base|Arbitrum|Optimism|Solana; Multi-chain items are always included), min_roi (0-1), max_sybil_risk (LOW|MEDIUM|HIGH) and limit (1-50), for example ?chain=Base&min_roi=0.7&max_sybil_risk=MEDIUM&limit=10. Each call costs $0.03 USDC, paid with x402 v2 (USDC on Base), AgentCash, or a Skyfire pay / kya-pay token sent in the kyapay-token header. A Skyfire kya token returns a free 2-item sample without payment. Invalid parameters (400), empty results (404) and an empty cache (503) are never charged. Data is a cached feed refreshed every 30 minutes (see age_seconds), not a real-time stream. Scoring methodology: GET /v1/pricing."},"paths":{"/v1/alpha/opportunities":{"get":{"tags":["Alpha feed"],"summary":"All current high-ROI grants, bounties and airdrop opportunities","operationId":"get_opportunities_v1_alpha_opportunities_get","responses":{"200":{"description":"Ranked opportunities (full feed, or a 2-item sample for kya tokens).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlphaReport"}}}},"400":{"description":"Invalid query parameter (never charged).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Payment required (x402 v2). The `Payment-Required` header carries the same JSON, base64-encoded."},"403":{"description":"Invalid or expired Skyfire token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Unknown type, or no opportunity matches the filters (never charged).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Feed cache empty or unavailable (never charged).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"SkyfireToken":[]},{}],"x-x402":{"price":"$0.03","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"30000","payTo":"0xA0f3bab8f298766610005F2BCcDef6964b40b5e6"},"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET"},"output":{"type":"json","example":{"status":"ok","tier":"live","generated_at":"2026-11-22T04:30:00Z","model_used":"rdx-alpha-oracle-v2","total_scanned":35,"count":1,"opportunities":[{"campaign_name":"Example Protocol","opportunity_type":"Airdrop Farming","chain":"Base","estimated_gas_cost_usd":0.4,"roi_potential_score":0.82,"sybil_risk":"MEDIUM","sybil_risk_reason":"Moderate farmer competition; some activity-based filtering is likely.","action_steps":["Bridge 0.01 ETH to Base via the official bridge","Supply liquidity once per week"],"reference_url":"https://example.org","reward_status":"not_applicable"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"const":"http"},"method":{"enum":["GET"]}},"required":["type","method"]},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"status":{"type":"string"},"tier":{"type":"string"},"generated_at":{"type":"string"},"count":{"type":"integer"},"opportunities":{"type":"array","items":{"type":"object"}}},"required":["status","opportunities"]}},"required":["type"]}},"required":["input"]}}},"parameters":[{"name":"chain","in":"query","required":false,"description":"Base, Arbitrum, Optimism or Solana. Multi-chain items are always included.","schema":{"type":"string","enum":["Base","Arbitrum","Optimism","Solana"]},"example":"Base"},{"name":"min_roi","in":"query","required":false,"description":"Minimum roi_potential_score, a number between 0 and 1.","schema":{"type":"number","minimum":0,"maximum":1},"example":0.7},{"name":"max_sybil_risk","in":"query","required":false,"description":"Highest sybil risk to include: LOW, MEDIUM or HIGH (MEDIUM returns LOW and MEDIUM).","schema":{"type":"string","enum":["LOW","MEDIUM","HIGH"]},"example":"MEDIUM"},{"name":"limit","in":"query","required":false,"description":"Maximum number of items to return (1-50), best ROI first.","schema":{"type":"integer","minimum":1,"maximum":50},"example":10}]}},"/v1/alpha/type/{opportunity_type}":{"get":{"tags":["Alpha feed"],"summary":"Opportunities filtered by type (airdrop-farming, developer-bounty, ecosystem-grant)","operationId":"get_opportunities_by_type_v1_alpha_type__opportunity_type__get","parameters":[{"name":"opportunity_type","in":"path","required":true,"description":"Opportunity type to return.","schema":{"type":"string","enum":["airdrop-farming","developer-bounty","ecosystem-grant"]},"example":"airdrop-farming"},{"name":"chain","in":"query","required":false,"description":"Base, Arbitrum, Optimism or Solana. Multi-chain items are always included.","schema":{"type":"string","enum":["Base","Arbitrum","Optimism","Solana"]},"example":"Base"},{"name":"min_roi","in":"query","required":false,"description":"Minimum roi_potential_score, a number between 0 and 1.","schema":{"type":"number","minimum":0,"maximum":1},"example":0.7},{"name":"max_sybil_risk","in":"query","required":false,"description":"Highest sybil risk to include: LOW, MEDIUM or HIGH (MEDIUM returns LOW and MEDIUM).","schema":{"type":"string","enum":["LOW","MEDIUM","HIGH"]},"example":"MEDIUM"},{"name":"limit","in":"query","required":false,"description":"Maximum number of items to return (1-50), best ROI first.","schema":{"type":"integer","minimum":1,"maximum":50},"example":10}],"responses":{"200":{"description":"Ranked opportunities (full feed, or a 2-item sample for kya tokens).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlphaReport"}}}},"400":{"description":"Invalid query parameter (never charged).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Payment required (x402 v2). The `Payment-Required` header carries the same JSON, base64-encoded."},"403":{"description":"Invalid or expired Skyfire token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Unknown type, or no opportunity matches the filters (never charged).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Feed cache empty or unavailable (never charged).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SkyfireToken":[]},{}],"x-x402":{"price":"$0.03","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"30000","payTo":"0xA0f3bab8f298766610005F2BCcDef6964b40b5e6"},"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","pathParams":{"opportunity_type":"airdrop-farming"}},"output":{"type":"json","example":{"status":"ok","tier":"live","generated_at":"2026-11-22T04:30:00Z","model_used":"rdx-alpha-oracle-v2","total_scanned":35,"count":1,"opportunities":[{"campaign_name":"Example Protocol","opportunity_type":"Airdrop Farming","chain":"Base","estimated_gas_cost_usd":0.4,"roi_potential_score":0.82,"sybil_risk":"MEDIUM","sybil_risk_reason":"Moderate farmer competition; some activity-based filtering is likely.","action_steps":["Bridge 0.01 ETH to Base via the official bridge","Supply liquidity once per week"],"reference_url":"https://example.org","reward_status":"not_applicable"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"pathParams":{"type":"object","properties":{"opportunity_type":{"enum":["airdrop-farming","developer-bounty","ecosystem-grant"]}},"required":["opportunity_type"]}},"required":["type","method"]},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"status":{"type":"string"},"tier":{"type":"string"},"generated_at":{"type":"string"},"count":{"type":"integer"},"opportunities":{"type":"array","items":{"type":"object"}}},"required":["status","opportunities"]}},"required":["type"]}},"required":["input"]}}}}},"/":{"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 freshness","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"}}}}}}}},"components":{"schemas":{"AlphaOpportunity":{"properties":{"campaign_name":{"type":"string","title":"Campaign Name","description":"Protocol or bounty name.","examples":["Example Protocol"]},"opportunity_type":{"type":"string","enum":["Airdrop Farming","Developer Bounty","Ecosystem Grant"],"title":"Opportunity Type"},"chain":{"type":"string","title":"Chain","description":"Base, Arbitrum, Optimism, Solana or Multi-chain.","examples":["Base"]},"estimated_gas_cost_usd":{"type":"number","minimum":0.0,"title":"Estimated Gas Cost Usd","description":"Indicative total on-chain cost of the action steps, USD."},"roi_potential_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Roi Potential Score","description":"Relative ranking inside the current feed (0-1). Not a forecast of dollar returns."},"sybil_risk":{"type":"string","enum":["LOW","MEDIUM","HIGH"],"title":"Sybil Risk","description":"How aggressively the campaign filters farmers."},"sybil_risk_reason":{"type":"string","title":"Sybil Risk Reason","description":"One-sentence justification for the sybil_risk label."},"estimated_reward_usd":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Estimated Reward Usd","description":"Reward stated by the bounty issue, in USD. null when the maintainer did not state an amount."},"reward_status":{"type":"string","enum":["listed","unlisted","not_applicable"],"title":"Reward Status","description":"`listed`: amount stated. `unlisted`: bounty without a stated amount. `not_applicable`: airdrop farming."},"action_steps":{"items":{"type":"string"},"type":"array","maxItems":3,"minItems":2,"title":"Action Steps","description":"2-3 short, machine-executable steps."},"reference_url":{"type":"string","title":"Reference Url","description":"Source page of the campaign or issue."}},"type":"object","required":["campaign_name","opportunity_type","chain","estimated_gas_cost_usd","roi_potential_score","sybil_risk","sybil_risk_reason","reward_status","action_steps","reference_url"],"title":"AlphaOpportunity"},"AlphaReport":{"properties":{"status":{"type":"string","title":"Status","examples":["ok"]},"tier":{"type":"string","enum":["live","sample"],"title":"Tier","description":"`sample` is returned for Skyfire `kya` tokens (free, limited)."},"generated_at":{"type":"string","title":"Generated At","description":"UTC ISO-8601 time the scores were generated."},"age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age Seconds","description":"Seconds since generated_at."},"refresh_policy":{"type":"string","title":"Refresh Policy","description":"How often the underlying data is refreshed."},"model_used":{"type":"string","title":"Model Used","description":"Scoring engine that produced the report.","examples":["rdx-alpha-oracle-v2"]},"total_scanned":{"type":"integer","title":"Total Scanned","description":"Raw protocols and bounties scanned for this report."},"methodology_url":{"type":"string","title":"Methodology Url","description":"Where the scoring methodology is published."},"opportunity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Type","description":"Present on the by-type endpoint."},"filters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Filters","description":"Echo of the applied query filters (chain, min_roi, max_sybil_risk, limit)."},"sample_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sample Notice","description":"Present when tier is `sample`."},"count":{"type":"integer","title":"Count","description":"Number of opportunities returned."},"opportunities":{"items":{"$ref":"#/components/schemas/AlphaOpportunity"},"type":"array","title":"Opportunities"}},"type":"object","required":["status","tier","generated_at","refresh_policy","model_used","total_scanned","methodology_url","count","opportunities"],"title":"AlphaReport","example":{"count":1,"generated_at":"2026-11-22T04:30:00Z","model_used":"rdx-alpha-oracle-v2","opportunities":[{"action_steps":["Bridge 0.01 ETH to Base via the official bridge","Supply liquidity once per week"],"campaign_name":"Example Protocol","chain":"Base","estimated_gas_cost_usd":0.4,"opportunity_type":"Airdrop Farming","reference_url":"https://example.org","reward_status":"not_applicable","roi_potential_score":0.82,"sybil_risk":"MEDIUM","sybil_risk_reason":"Moderate farmer competition; some activity-based filtering is likely."}],"status":"ok","tier":"live","total_scanned":35}},"ApiError":{"properties":{"error":{"type":"string","title":"Error","examples":["invalid_query_parameter"]},"message":{"type":"string","title":"Message","description":"Human-readable explanation. Errors on paid routes are never charged."}},"type":"object","required":["error","message"],"title":"ApiError"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"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 KYAPay token. `kya`: free 2-item sample. `pay` / `kya-pay`: full feed, charged $0.03 per call. https://docs.skyfire.xyz/docs/kyapay-tokens","x-skyfire-token-type":["kya","pay","kya-pay"]}}},"servers":[{"url":"https://alpha.rdxdata.xyz"}],"x-skyfire-token-type":["kya","pay","kya-pay"],"x-agentcash-guidance":{"llmsTxtUrl":"https://rdxdata.xyz"},"x-x402":{"x402Version":2,"scheme":"exact","price":"$0.03","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"30000","payTo":"0xA0f3bab8f298766610005F2BCcDef6964b40b5e6","paymentRequiredHeader":"Payment-Required","paymentHeader":"PAYMENT-SIGNATURE","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"},"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET"},"output":{"type":"json","example":{"status":"ok","tier":"live","generated_at":"2026-11-22T04:30:00Z","model_used":"rdx-alpha-oracle-v2","total_scanned":35,"count":1,"opportunities":[{"campaign_name":"Example Protocol","opportunity_type":"Airdrop Farming","chain":"Base","estimated_gas_cost_usd":0.4,"roi_potential_score":0.82,"sybil_risk":"MEDIUM","sybil_risk_reason":"Moderate farmer competition; some activity-based filtering is likely.","action_steps":["Bridge 0.01 ETH to Base via the official bridge","Supply liquidity once per week"],"reference_url":"https://example.org","estimated_reward_usd":null,"reward_status":"not_applicable"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"const":"http"},"method":{"enum":["GET"]}},"required":["type","method"]},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"status":{"type":"string"},"tier":{"type":"string"},"generated_at":{"type":"string"},"count":{"type":"integer"},"opportunities":{"type":"array","items":{"type":"object"}}},"required":["status","opportunities"]}},"required":["type"]}},"required":["input"]}}}}