{"uid":"cap_3U9ErZbLHEwr-BrzOSHMC","slug":"nomos-crypto-to-fiat-value-converter-d60c9314","name":"Nomos Crypto-to-Fiat Value Converter","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/convert","method":"POST","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":["POST"],"type":"string"},"queryParams":{"type":"object","required":["asset","amount","quote_currency"],"properties":{"asset":{"enum":["BTC","ETH","TRX","USDT","USDC"],"type":"string","description":"Asset symbol to convert."},"amount":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,18})?$","description":"Positive decimal asset amount."},"quote_currency":{"enum":["USD","TWD"],"type":"string","description":"Quote currency for the converted value."},"idempotency_key":{"type":"string","maxLength":128,"description":"Optional caller-supplied idempotency key."}}}},"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-convert","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2VxGh-Pc20EAiwCuFgkGG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a specified amount of BTC, ETH, TRX, USDT, or USDC into its equivalent USD or TWD fiat value for agent budget checks and cost calculations.","exampleAgentPrompt":"How much is 0.25 ETH worth in USD right now? I need to check if it covers a $400 budget before the agent proceeds.","exampleUseCases":[{"title":"Agent spend-limit preflight check","prompt":"Before my agent pays for that API call, convert 0.05 ETH to USD so I can confirm it's within the $80 spending limit I set."},{"title":"TWD budget calculation for Taiwan market","prompt":"I'm running a campaign budget in Taiwan — can you convert 500 USDT to TWD so I know the local-currency equivalent?"},{"title":"BTC invoice validation before approval","prompt":"A vendor sent me an invoice for 0.002 BTC — what's that in USD today so I can approve or reject it?"}],"resultDescription":"Returns the fiat-denominated value of the specified crypto amount, along with metadata including the asset, network, product context, and provenance fields. The agent receives a structured JSON object with the converted value in USD or TWD, enabling downstream budget decisions or authorization checks.","failureModes":["Unsupported asset symbol (only BTC, ETH, TRX, USDT, USDC accepted) → validation error","Amount string fails pattern validation (must be positive decimal up to 18 decimal places) → 400 bad request","Unsupported quote currency (only USD or TWD) → enum validation error","Payment not provided or insufficient → 402 Payment Required (x402 protocol)","Upstream price feed unavailable → 503 or error response","Idempotency key collision with differing parameters → conflict error"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a real-time crypto-to-fiat conversion for budget gating, spend-limit enforcement, or invoice validation — specifically for BTC, ETH, TRX, USDT, or USDC quoted in USD or TWD. It is purpose-built for agent preflight workflows (Nomos ecosystem) and integrates natively with x402 micropayment rails. Prefer it over generic exchange-rate APIs when you need the Nomos provenance and identity context fields in the response, or when operating within the bytoken2023 agent infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:55:57.546Z","isFirstParty":false}