{"uid":"cap_cFHPyCTxiKOkxiM1Z9z-a","slug":"nomos-btc-usd-value-api-b796d421","name":"Nomos BTC/USD Value API","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/x402/v1/value/btc-usd","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":[],"properties":{"amount":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,18})?$","description":"Optional positive decimal BTC amount. Defaults to 1."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"nomos-value-btc-usd","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mxZrgSRMz10Auh5W8fY-K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current BTC/USD price along with a risk assessment and flags for a given BTC amount.","exampleAgentPrompt":"What is the current BTC/USD price and risk assessment for 0.75 BTC using Nomos?","exampleUseCases":[{"title":"Agent preflight BTC value check","prompt":"Before I execute this trade, can you check the current USD value and risk level of 2 BTC so I know it's safe to proceed?"},{"title":"Portfolio valuation in USD","prompt":"What is the current BTC/USD price and what is 0.5 BTC worth right now — and is there any risk flag I should know about?"},{"title":"Automated risk scoring for BTC transaction","prompt":"I'm about to send 1 BTC — can you look up the current BTC/USD rate and tell me the risk score before I confirm?"}],"resultDescription":"Returns a JSON object containing the Base network identifier (eip155:8453), product name (nomos-value-btc-usd), and an assessment object with risk_level (e.g. 'low'), numeric risk_score, and a flags array indicating any detected risk signals. May also include identity, activity, and provenance sub-objects.","failureModes":["Invalid BTC amount format (must match ^[0-9]+(?:\\.[0-9]{1,18})?$) returns a 400 error","Payment not received or insufficient USDC results in 402 Payment Required","Network or worker outage may return 503","Negative or zero amount may be rejected","Missing or malformed query parameters may return validation errors"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-request BTC/USD price lookup that also returns a structured risk assessment and flags — ideal for agent preflight checks before executing BTC-denominated transactions. Prefer it over generic price APIs when you need risk scoring bundled with the price lookup in a single call on the Base network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:56:43.070Z","isFirstParty":false}