{"uid":"cap_nGpDXFGomsIjaJNWvrC0S","slug":"nomos-eth-usd-value-assessment-api-d9b4be8c","name":"Nomos ETH/USD Value Assessment 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/eth-usd?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"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"amount":{"type":"string","pattern":"^(?:[0-9]*[1-9][0-9]*(?:\\.[0-9]{1,12})?|0+\\.(?:[1-9][0-9]{0,11}|0{1}[1-9][0-9]{0,10}|0{2}[1-9][0-9]{0,9}|0{3}[1-9][0-9]{0,8}|0{4}[1-9][0-9]{0,7}|0{5}[1-9][0-9]{0,6}|0{6}[1-9][0-9]{0,5}|0{7}[1-9][0-9]{0,4}|0{8}[1-9][0-9]{0,3}|0{9}[1-9][0-9]{0,2}|0{10}[1-9][0-9]{0,1}|0{11}[1-9]))$","maxLength":64,"description":"Optional positive decimal ETH amount with at most 12 fractional digits. Defaults to 1."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"asset":"ETH","amount":"1","source":"live_market_quote","product":"nomos-value-eth-usd","sources":[{"leg":"crypto_usd","pair":"XETHZUSD","value":"1.00000000","venue":"Kraken Spot","market":"ETH/USD","provider":"Kraken","fetched_at":"2026-07-24T00:00:00.000Z","observed_at":"2026-07-24T00:00:00.000Z","provider_role":"primary","observation_type":"recent_trade","timestamp_origin":"exchange_trade_time","freshness_seconds":0}],"provider":"Kraken","result_id":"val_20260724000000_bgx","quote_type":"live","unit_price":"1.000000","fallback_used":false,"market_status":"fresh","provider_role":"primary","quote_currency":"USD","schema_version":"2.0","converted_value":"1.00","fallback_reason":null,"freshness_seconds":0,"source_observed_at":"2026-07-24T00:00:00.000Z","response_generated_at":"2026-07-24T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002001","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.002001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QxIgIltMOpJ-XAbaRqqtr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current ETH/USD exchange rate with associated risk assessment, network metadata, and risk scoring via a pay-per-request preflight API.","exampleAgentPrompt":"What is the current ETH/USD price along with its risk score and any flags — I want to check it's safe before my agent uses it for a conversion calculation?","exampleUseCases":[{"title":"Pre-trade ETH price risk check","prompt":"Before my agent executes a swap, fetch the current ETH/USD price from Nomos and tell me the risk level and any flags so I know the rate looks clean."},{"title":"ETH portfolio valuation with safety score","prompt":"I have 3.5 ETH — what's its current USD value and is the price feed flagged as low risk right now?"},{"title":"Agent decision gate on ETH price","prompt":"My agent needs to decide whether to proceed with a payment — can you pull the current ETH/USD rate and confirm the risk score is low before it moves forward?"}],"resultDescription":"A JSON object containing the network identifier (e.g. eip155:8453 for Base), the product name ('nomos-value-eth-usd'), and an assessment object with a risk_score (numeric), risk_level (e.g. 'low'), and a flags array (empty when clean). Optionally includes activity, identity, and provenance objects depending on the request.","failureModes":["Invalid amount format (non-numeric or negative) returns 400 with validation error","Missing or failed x402 payment returns 402 Payment Required","Network or Cloudflare Worker downtime returns 503","Price feed unavailability may return 503 or a stale/error response","Malformed query parameter (e.g. amount with too many decimal places) returns 400"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a risk-assessed, network-aware ETH/USD price feed — particularly for preflight checks before on-chain transactions or agent-executed payments on Base. It is distinct from bare price APIs because it bundles a risk score and flags alongside the price, making it suitable for autonomous decision gates rather than just display.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T18:39:26.942Z","isFirstParty":false,"canonicalSlug":"nomos-eth-usd-value-assessment-api-d9b4be8c"}