{"name":"NEARpedia REST API","version":"1","base":"https://near-pedia.xyz/api/v1","endpoints":[{"path":"/api/v1/protocol","params":"network (mainnet|testnet)"},{"path":"/api/v1/proposals","params":"status, q, limit"},{"path":"/api/v1/proposals/:ref","params":"on-chain id or HSP number, e.g. 27 or HSP-027"},{"path":"/api/v1/check-code","params":"POST { code, filename?, language? }"},{"path":"/api/v1/deprecations","params":"q, kind, status, limit, offset"},{"path":"/api/v1/deprecations/:id","params":"entry id, e.g. near-sdk-js"},{"path":"/api/v1/search","params":"q, type (all|doc|discussion|blog|youtube|github), limit"},{"path":"/api/v1/discussions","params":"limit, offset, category"},{"path":"/api/v1/discussions/:id","params":"topic id"},{"path":"/api/v1/docs","params":"source, limit, offset"},{"path":"/api/v1/docs/:id","params":"doc id"},{"path":"/api/v1/radar","params":"level (all|critical|important|ecosystem)"},{"path":"/api/v1/blog","params":"source, q, limit, offset - blog posts, news and press releases"},{"path":"/api/v1/videos","params":"channel, since, has_transcript, limit, offset"},{"path":"/api/v1/stats","params":"latest snapshot + 90-snapshot history"},{"path":"/api/v1/repos","params":"list indexed GitHub repos"},{"path":"/api/v1/code","params":"repo, state, type, q, limit, offset"},{"path":"/api/v1/network","params":"latest on-chain state (block height, validators, NEAR supply, transactions)"},{"path":"/api/v1/ecosystem","params":"category, q, limit, offset - NEAR ecosystem project catalog"},{"path":"/api/v1/sources","params":"Discovery: one row per content type with count + last-synced timestamp"},{"path":"/api/v1/changes","params":"days (1-90), limit (1-500) - unified activity feed across all sources"},{"path":"/api/v1/openapi.json","params":"OpenAPI 3.1 description of every endpoint - feed it to Swagger UI or OpenAI function-calling"},{"path":"/api/v1/reference","params":"Interactive API reference (Scalar) rendered from the OpenAPI spec - open in a browser"},{"path":"/api/v1/csp-violations","params":"window (1-90), limit (1-25) - aggregated CSP violations, no IPs / document URIs"},{"path":"/api/v1/blog/:id","params":"Single blog post; reprints and partner press come as an excerpt"},{"path":"/api/v1/videos/:id","params":"YouTube video metadata + transcript text and the time of each line"},{"path":"/api/v1/github-discussions","params":"repo, category, limit, offset - NEAR repo Q&A + Ideas"},{"path":"/api/v1/github-discussions/:id","params":"Single discussion body + comments"}],"mcp":"https://near-pedia.xyz/mcp"}