{"uid":"cap_4p0SzCou3Uj_OZPq1Oi3d","slug":"x-ray-get-scope-metrics-0609c584","name":"X-RAY get_scope_metrics","description":"X-RAY get_scope_metrics: daily metric series for the market, a chain or a sector","url":"https://mcp.x-ray.me/x402/get_scope_metrics?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["type","metrics"],"properties":{"days":{"type":"integer","description":"lookback, default 30"},"slug":{"type":"string","description":"chain or sector slug"},"type":{"type":"string","description":"market | chain | sector"},"metrics":{"type":"string","description":"comma-separated metric names, e.g. open_roles,tvl_usd"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"days":90,"scope":{"name":"Solana","slug":"solana","type":"chain"},"series":{"open_roles":[{"date":"2026-10-01","value":420}]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DRe_fRAY8nB2Qokob9f-E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily time-series metric data for a market, blockchain chain, or sector over a configurable lookback window","exampleAgentPrompt":"Can you pull the daily TVL and open_roles metrics for the Ethereum chain over the last 60 days from X-RAY?","exampleUseCases":[{"title":"Track DeFi sector TVL over time","prompt":"Show me the daily TVL trend for the DeFi sector over the past 30 days using X-RAY's scope metrics."},{"title":"Monitor chain hiring activity trends","prompt":"Pull the daily open_roles metric series for the Solana chain over the last 14 days so I can see if hiring is picking up."},{"title":"Market-wide daily metric snapshot","prompt":"Get me the daily open_roles and tvl_usd metrics for the whole market over the past 60 days from X-RAY."}],"resultDescription":"A daily time-series dataset for the requested scope (market, chain, or sector) containing one data point per day for each requested metric (e.g. tvl_usd, open_roles), covering the specified lookback period. The response is an object with metric arrays indexed by date.","failureModes":["Invalid or unrecognized chain/sector slug returns an error or empty series","Unsupported metric names in the comma-separated list may be silently ignored or return null values","Missing required 'type' or 'metrics' query params results in a 400-level error","Requesting too long a lookback window may return partial data or hit limits","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need historical, day-by-day trend data for a specific blockchain chain, Web3 sector, or the overall market. It is the right choice when you want to analyze how metrics like TVL or open job roles have evolved over time, as opposed to point-in-time snapshots. Prefer this over the 'compare' endpoint when you need a full time-series rather than a cross-sectional comparison.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T18:34:30.609Z","isFirstParty":false,"canonicalSlug":"x-ray-get-scope-metrics-0609c584"}