{"uid":"cap__wSJtwi6Erz0ls25524Yy","slug":"one-engine-text-extract-integers-t5-fa97dc1e","name":"ONE Engine Text Extract Integers (T5)","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/t5?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.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fakg6G2HF7lmh4vOLMjcW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all integers from a given text string using a T5-based model, returning them as structured data.","exampleAgentPrompt":"Extract all the integers from this text for me: 'In 2023, the company shipped 4200 units across 17 countries, with 3 product lines and a revenue of 85 million dollars.'","exampleUseCases":[{"title":"Invoice data extraction pipeline","prompt":"Pull out all the integer values from this invoice text so I can load them into our accounting system: 'Invoice #10042: 3 items at $150 each, shipped on day 14 of the month, reference order 88731.'"},{"title":"Scientific report number harvesting","prompt":"I have this paragraph from a lab report — can you extract every integer from it? 'Sample A had 42 observations, 3 outliers were removed, and the experiment ran for 7 days across 2 sites with 100 participants.'"},{"title":"Log file integer parsing","prompt":"Go through this server log snippet and give me all the integers you find: 'Process 1042 started at port 8080, consumed 512 MB, handled 3200 requests, with 4 errors in 60 seconds.'"}],"resultDescription":"A JSON object containing the integers extracted from the submitted text, parsed and returned as structured numeric data.","failureModes":["Text exceeds 50000 character limit — request rejected or truncated","No integers found in text — empty array or empty result returned","Malformed input (non-string text field) — validation error","Payment failure via x402 — 402 response, call not executed","Ambiguous numeric forms (e.g. decimals, written-out numbers like 'forty-two') may be excluded or inconsistently handled"],"whenToPreferThis":"Choose this endpoint when you need a low-cost, pay-per-call solution to extract integer values from unstructured text without standing up your own parsing infrastructure. It is ideal for autonomous agents processing documents, logs, reports, or any text where numerical integers need to be isolated programmatically. Prefer this over regex-based alternatives when the text is messy or complex enough to benefit from model-based extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:23.720Z","isFirstParty":false,"canonicalSlug":"one-engine-text-extract-integers-t5-fa97dc1e"}