{"uid":"cap_Txu9-41tdHuqWlRTO2406","slug":"orders-of-magnitude-api-ns-cache-lookup-64ed8c5b","name":"Orders of Magnitude API – NS Cache Lookup","description":"Data and AI services via x402 payment protocol","url":"https://x402-api-production-5133.up.railway.app/ns/cache","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","properties":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xwd5rI8qlopelOZjGN7mv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a cached namespace lookup or retrieval using a string input key, returning cached data and AI service results via the x402 micropayment protocol.","exampleAgentPrompt":"Look up the cached result for the key 'latest_market_summary' in the Orders of Magnitude namespace cache and return whatever is stored there.","exampleUseCases":[{"title":"Retrieve cached AI inference result","prompt":"Check the Orders of Magnitude namespace cache for the key 'sentiment_analysis_batch_42' and give me whatever result is stored there."},{"title":"Namespace key existence check","prompt":"Look up the cache entry for 'user_profile_enrichment_xyz789' in the Orders of Magnitude API and tell me what data comes back."},{"title":"Fetch previously computed data","prompt":"Can you pull the cached output for the key 'weekly_report_2024_Q2' from the Orders of Magnitude namespace cache?"}],"resultDescription":"Returns a JSON object containing the cached data associated with the provided input key from the namespace cache. The response schema is open-ended, so the shape of the returned data depends on what was previously stored under that key.","failureModes":["Cache miss: the requested key does not exist in the namespace cache, returning an empty or error response","Invalid or missing input string: returns a 400-level error due to the required 'input' field being absent","Payment failure: x402 payment protocol authorization fails, blocking the request","Service unavailable: Railway-hosted backend is down or unreachable, returning a 5xx error","Expired cache entry: the key exists but the underlying data may be stale or cleared"],"whenToPreferThis":"Use this endpoint when you need to retrieve previously computed or stored results from the Orders of Magnitude namespace cache and want to avoid recomputing expensive AI or data operations. It is best suited for scenarios where the same query has likely been run before and a cached result is acceptable. Prefer this over fresh computation endpoints when latency and cost savings are the priority.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:48:07.282Z","isFirstParty":false}