{"uid":"cap_AbPcL52i5_5eZeyOFaOfz","slug":"one-engine-text-extract-integers-7d776ad6","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/t4?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.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mzrG1hNim_g-J6NR9avyz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","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 provided text string (up to 50,000 characters).","exampleAgentPrompt":"Pull all the integer numbers out of this text for me: 'The warehouse shipped 42 units on Monday, received 7 pallets on Tuesday, and logged 1500 SKUs by Thursday.'","exampleUseCases":[{"title":"Extracting quantities from inventory reports","prompt":"Here's an inventory log — can you extract every integer number from it so I can tally up the counts? 'Received 320 boxes, returned 14 items, flagged 3 units as damaged, restocked 200 SKUs.'"},{"title":"Parsing scores from survey responses","prompt":"I have raw survey response text and need all the numeric ratings pulled out as integers — here's the text: 'User rated the experience 8 out of 10, support 6, and overall satisfaction 9.'"},{"title":"Extracting ages from patient intake notes","prompt":"Can you scan this patient intake note and extract all integer values from it? 'Patient is 34 years old, has had 2 prior surgeries, takes 3 medications, and weighed 180 pounds at last visit.'"}],"resultDescription":"Returns a JSON object containing the integers extracted from the input text, likely as an array of integer values found in the order they appear or grouped by occurrence.","failureModes":["Text exceeds 50,000 character limit — request rejected or truncated","No integers found in text — returns empty array or null result","Malformed JSON body or missing required 'text' field — returns 400-level error","Payment failure via x402 protocol — returns 402 Payment Required","Ambiguous numeric strings (e.g. decimals, phone numbers) may or may not be included depending on parsing logic"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, pay-per-call extraction of integer values from text without setting up a heavyweight NLP pipeline. Ideal for agents processing logs, reports, or natural language documents where only whole-number quantities matter. At $0.0015 USDC per call it is cost-effective for high-frequency extraction tasks in automated workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:30.021Z","isFirstParty":false,"canonicalSlug":"one-engine-text-extract-integers-e02038b1"}