{"uid":"cap_Fvye0eXtfEX_vNH36XhQP","slug":"delx-commerce-extract-integers-from-text-d6b426fd","name":"Delx Commerce — Extract Integers 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-ints?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"count":3,"schema":"delx/util-extract-ints/v1","values":[42,19,-3]}},"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_vE-6A9K-cd0adyiwv7HUJ","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 integers found in a text string, returning their values and count","exampleAgentPrompt":"Pull out all the integers from this text: 'We shipped 42 units on day 5 and returned 3 items, losing -19 from inventory.'","exampleUseCases":[{"title":"Parsing numbers from log output","prompt":"Extract all the integer values from this server log line: 'Error 503: retried 5 times, 12 packets dropped, -2 delta detected in 8 seconds.'"},{"title":"Scraping scores from a report","prompt":"I have this text from a report — 'Team A scored 87 points, Team B scored 94, and there were 3 ties' — can you pull out all the integer numbers from it?"},{"title":"Counting numeric mentions in feedback","prompt":"Here's some user feedback: 'I waited 45 minutes, ordered 2 items, and was charged 3 times.' Please extract all integers from that so I can log them."}],"resultDescription":"Returns a JSON object containing an array of all integer values found in the input text (including negatives), plus the total count of integers found. Schema: {count: number, values: number[], schema: 'delx/util-extract-ints/v1'}.","failureModes":["Empty text input returns count of 0 and empty values array","Non-string input types may cause a 400 error","Text with no integers returns count 0 and empty array","Payment failure via x402 prevents call from completing","Very long text inputs may increase latency or cause timeout"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, pay-per-call extraction of integers from arbitrary text without setting up an account or managing API keys. Ideal for agent workflows that occasionally need to parse numbers from text at $0.001 per call with USDC micropayment via x402, especially when you need verifiable delivery and no signup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:52:57.023Z","isFirstParty":false,"canonicalSlug":"delx-commerce-extract-integers-from-text-d6b426fd"}