{"uid":"cap_33dneDmFQPIY9ezmAGQjG","slug":"delx-commerce-extract-numbers-from-text-3718dde3","name":"Delx Commerce — Extract Numbers from Text","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/extract-numbers?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":100000,"description":"Primary text input (max 100k chars). Processed first-party; not retained as a dataset."}}},"responseSchema":{"type":"json","example":{"count":0,"schema":"delx/extract-numbers/v1","numbers":[]}},"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_vr_Ragq1Z4_O_MV1ksjba","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":"Extracts all numbers from a given text string, returning a count and list of the found numeric values.","exampleAgentPrompt":"Can you pull out all the numbers from this text for me: 'The order totaled $1,250.00 across 3 items, shipped in 2 boxes weighing 4.5 kg each, arriving within 7 days'?","exampleUseCases":[{"title":"Parse figures from financial document","prompt":"I have this earnings report excerpt — 'Revenue was $4.2B, up 12% year-over-year, with operating costs at $1.8B and net income of $620M' — can you extract every number from it?"},{"title":"Extract stats from sports commentary","prompt":"Pull all the numbers out of this sports recap: 'The team scored 34 points in the first half, made 7 three-pointers, and won by 11 with 3 seconds left on the clock.'"},{"title":"Identify numeric values in contract text","prompt":"Here's a clause from a lease agreement: 'The tenant shall pay $2,400 monthly, with a security deposit of $4,800, on a 24-month term with 3% annual increases.' Please extract all the numbers from it."}],"resultDescription":"A JSON object containing: `count` (integer total number of numeric values found), `numbers` (array of the extracted numeric values), and `schema` (a version identifier string 'delx/extract-numbers/v1').","failureModes":["Text exceeds 100,000 character limit — request rejected","Empty or missing `text` field — returns count 0 with empty array","Payment not included or insufficient USDC — 402 Payment Required response","Malformed JSON body — 400 Bad Request","Text contains no numbers — returns count 0 and empty numbers array"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, pay-per-use extraction of all numeric values from a text string without setting up accounts or subscriptions. It is ideal for agents processing documents, reports, or freeform text where only the numeric data is needed. At $0.001 USDC per call with no signup required and verifiable delivery via x402, it is well-suited for high-frequency automated pipelines where cost predictability matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:08.721Z","isFirstParty":false,"canonicalSlug":"delx-commerce-extract-numbers-from-text-3718dde3"}