{"uid":"cap_naodR2Oobzvros_687pRO","slug":"kg-dyor-network-d648239e","name":"DYOR Crypto Knowledge Graph SPARQL Query","description":"Query the DYOR crypto knowledge graph using SPARQL. Covers 586K+ entities across 8,200+ protocols, tokens, chains, investors, governance, and DeFi data from DefiLlama, CryptoRank, CoinGecko, TokenTerminal, Snapshot, and Tally. Ontology: https://kg.dyor.network/ontology/core/dyor.ttl — free schema at GET /api/schema | ZWING Intelligence (https://zwing.bot) — contact: v@zwing.bot, Telegram: @valery_zzz","url":"https://kg.dyor.network/api/sparql?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"SPARQL SELECT query against RDF triples"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object"}},"count":{"type":"integer"},"status":{"type":"string"},"variables":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"query":"PREFIX dk: <https://schema.dyor.bot/crypto-kg#> SELECT ?protocol ?name WHERE { ?protocol a dk:Protocol ; <http://schema.org/name> ?name } LIMIT 10"}}},"response":{"data":[{"name":"Compound","protocol":"https://schema.dyor.bot/token/compound-governance-token"},{"name":"Compound V3","protocol":"https://schema.dyor.bot/token/compound-governance-token"},{"name":"Compound V2","protocol":"https://schema.dyor.bot/token/compound-governance-token"},{"name":"Compound","protocol":"https://schema.dyor.bot/protocol/compound-v3"},{"name":"Compound V3","protocol":"https://schema.dyor.bot/protocol/compound-v3"},{"name":"Compound V2","protocol":"https://schema.dyor.bot/protocol/compound-v3"},{"name":"Compound","protocol":"https://schema.dyor.bot/protocol/compound-v2"},{"name":"Compound V3","protocol":"https://schema.dyor.bot/protocol/compound-v2"},{"name":"Compound V2","protocol":"https://schema.dyor.bot/protocol/compound-v2"},{"name":"Compound","protocol":"https://schema.dyor.bot/protocol/compound-finance"}],"count":10,"status":"success","variables":["protocol","name"]}},"exampleRequest":{"query":"PREFIX dk: <https://schema.dyor.bot/crypto-kg#> SELECT ?protocol ?name WHERE { ?protocol a dk:Protocol ; <http://schema.org/name> ?name } LIMIT 10"},"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RI4-fbbRsYSJmaTfLucbc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Execute SPARQL SELECT queries against a 586K+ entity crypto knowledge graph covering protocols, tokens, chains, investors, governance, and DeFi data","exampleAgentPrompt":"Run a SPARQL query against the DYOR crypto knowledge graph to find all protocols on Ethereum with TVL greater than $100M, returning their names and TVL values.","exampleUseCases":[{"title":"Identify top venture investors across protocols","prompt":"Search the crypto knowledge graph to find which venture capital firms have invested in the most DeFi protocols, and show me their portfolio sizes and the chains they're concentrated in."},{"title":"Map token unlock schedules by project","prompt":"Query the knowledge graph to get all tokens with upcoming unlocks in the next 90 days, including the project names, unlock amounts, and governance token holders."},{"title":"Discover governance participation patterns","prompt":"Find all protocols where specific governance token holders have voting power, then show me which chains and DeFi categories they're most active in."}],"resultDescription":"A JSON object containing a status field, an array of variable names, an array of result rows (each as a key-value object matching the SELECT variables), and a total count of matching results.","failureModes":["Invalid SPARQL syntax returns a 400 error","Query timeout for overly complex or unindexed traversals","Missing required 'query' parameter returns validation error","Unsupported SPARQL features (e.g. UPDATE, CONSTRUCT) may be rejected","Payment failure (402) if x402 payment not provided","Rate limiting if query volume exceeds plan limits"],"whenToPreferThis":"Use this endpoint when you need precise, structured RDF graph traversal over the DYOR crypto knowledge graph — ideal for complex multi-hop relationship queries (e.g. investor → protocol → chain), filtering by ontology classes, or joining entities across sources like DefiLlama, CoinGecko, CryptoRank, and Snapshot. Prefer over semantic search endpoints when you know exact entity URIs or ontology predicates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:32:53.070Z","isFirstParty":false,"canonicalSlug":"kg-dyor-network-d648239e"}