{"uid":"cap_M6H463PgZNkGrWH-YWG1n","slug":"crypto-shark-bazaar-chain-code-endpoint-3d068a42","name":"Crypto Shark Bazaar – Chain Code Endpoint","description":"Low-cost x402 blockchain primitives, market intelligence, and AI utilities for autonomous agents","url":"https://cryptoshark.duckdns.org/chain/code?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"network":"base","observedAt":"2026-09-16T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yVMs6w8Xe5D-9xWlgM09d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns blockchain network code/metadata for the Base network, providing chain identification primitives for autonomous agents","exampleAgentPrompt":"Can you pull the current blockchain network code and metadata from Crypto Shark Bazaar so I know which chain we're operating on?","exampleUseCases":[{"title":"Verify active blockchain network","prompt":"Before I send this transaction, can you check which blockchain network is currently active using Crypto Shark Bazaar's chain code endpoint?"},{"title":"Timestamp chain state for audit log","prompt":"Fetch the current Base network identifier and observation timestamp from Crypto Shark Bazaar so I can log it in my audit trail."},{"title":"Agent chain awareness bootstrap","prompt":"My autonomous agent is starting up — can you grab the chain code and network name from Crypto Shark Bazaar so it knows which blockchain it's connected to?"}],"resultDescription":"Returns a JSON object containing the network name (e.g. 'base') and an ISO 8601 observedAt timestamp indicating when the chain state was recorded.","failureModes":["Invalid or unsupported properties filter returns empty or error response","Service unavailable due to duckdns dynamic DNS resolution failure","Payment of 0.003 USDC not completed results in 402 Payment Required","Stale observedAt timestamp if upstream chain data feed is delayed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a lightweight, low-cost ($0.003 USDC) lookup of Base network chain metadata via x402 micropayment protocol, especially in autonomous agent pipelines that need chain identification without heavier RPC infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:30:53.854Z","isFirstParty":false,"canonicalSlug":"crypto-shark-bazaar-chain-code-endpoint-3d068a42"}