{"uid":"cap_prJFTc5v42QuGemW2hZvQ","slug":"delx-commerce-usdc-raw-amount-converter-fbc71129","name":"Delx Commerce — USDC Raw Amount Converter","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/usdc-raw-to-amount?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"raw":{"type":"string","description":"Input field: raw."}}},"responseSchema":{"type":"json","example":{"raw":"1500000","usdc":1.5,"schema":"delx/util-usdc-raw-to-amount/v1","decimals":6}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eWn86ITZS1wIygSEVgohx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a raw USDC integer (in base units) to a human-readable decimal USDC amount by dividing by 10^6 decimals","exampleAgentPrompt":"Convert the raw USDC value 1500000 to a human-readable amount — I need to know how many USDC that actually is.","exampleUseCases":[{"title":"Display wallet USDC balance","prompt":"I got a raw USDC balance of 5000000 from the blockchain — can you convert that to a readable dollar amount so I can show it in the UI?"},{"title":"Verify payment amount received","prompt":"A payment transaction came in with a raw USDC value of 2500000 — tell me the actual USDC amount that was sent."},{"title":"Parse on-chain swap output","prompt":"My DeFi swap returned a raw output of 750000 USDC units — convert that to a normal USDC number so I know how much I received."}],"resultDescription":"Returns a JSON object containing the original raw string, the computed human-readable USDC decimal amount (e.g. 1.5), the number of decimals used (6), and a schema identifier string ('delx/util-usdc-raw-to-amount/v1') for versioning and verification.","failureModes":["Invalid or non-numeric raw string returns an error","Missing 'raw' field in request body causes validation failure","Extremely large integers may cause precision issues in JSON serialization","Payment not included or incorrect USDC payment returns 402 response"],"whenToPreferThis":"Use this endpoint when you need a simple, verifiable, pay-per-call conversion of raw on-chain USDC integer values to human-readable decimals, especially in agent workflows already using x402/USDC micropayments on Base or Solana, and you want no signup friction and exact pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:54.423Z","isFirstParty":false,"canonicalSlug":"delx-commerce-usdc-raw-amount-converter-fbc71129"}