{"uid":"cap_28y5yQkHERvDJ3eNu4HRL","slug":"one-engine-text-extract-integers-27556f26","name":"ONE Engine Text Extract Integers","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/text-extract/integers/t1?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text up to 50000 characters"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2m5adICtE4U85WZTw4Kdr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all integer numbers from a given text string and returns them as structured data.","exampleAgentPrompt":"Pull out all the integers from this text for me: 'The order had 3 items, each weighing 12 kg, shipped across 4 warehouses with a total of 150 units delivered in 2023.'","exampleUseCases":[{"title":"Parse numbers from log files","prompt":"I have this server log output and I need all the integer values extracted from it — things like error codes, request counts, and timestamps. Can you pull out every whole number from this text: 'ERROR 503 after 42 retries, 1200ms response time, 0 bytes transferred, job ID 9981'?"},{"title":"Extract quantities from product description","prompt":"Grab all the integers out of this product description for me: 'This 64GB drive supports up to 8 simultaneous users, has a 5-year warranty, runs at 7200 RPM, and costs 3 times less than competitors at just 49 dollars.'"},{"title":"Identify numeric values in research text","prompt":"I need every integer number extracted from this research abstract so I can record the key figures: 'The study enrolled 342 participants over 18 months, with 27 dropouts, across 5 clinical sites, achieving 91% compliance.'"}],"resultDescription":"A JSON object containing the integers found in the submitted text, likely as an array or structured list of whole number values parsed from the input string.","failureModes":["Text exceeds 50000 character limit — request rejected","Empty text field — no integers returned or error","Text contains only decimals or floats — may return empty result","Payment failure via x402 — HTTP 402 returned, no extraction performed","Malformed JSON body — HTTP 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost ($0.0005 USDC) programmatic way to extract integer values from free-form text without running local regex or NLP. Ideal for agents processing documents, logs, or unstructured content at scale where parsing integers is the specific goal and cost-per-call matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:40:16.015Z","isFirstParty":false,"canonicalSlug":"one-engine-text-extract-integers-e02038b1"}