{"uid":"cap_TMAbe9ob3GByKllLJM8H8","slug":"one-engine-text-extract-integers-e02038b1","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/t7?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.0065","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.0065/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kMNe71qyJYi4jZ7Iq7dNm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0065","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 found within a block of text, returning them as structured data.","exampleAgentPrompt":"Pull out all the integers from this text for me: 'In 2023, the company hired 47 engineers, closed 3 offices, and reported revenue of 120 million dollars across 5 product lines.'","exampleUseCases":[{"title":"Extract stats from a press release","prompt":"Here's a press release — can you extract every integer number mentioned in it so I can log the stats? Text: 'Q3 saw 1200 new users, 4 product launches, and a 33% reduction in churn across 2 regions.'"},{"title":"Parse numbers from log output","prompt":"I have some raw server log text and I need all the integer values pulled out of it — things like error codes, timestamps, and counts. Can you extract them all?"},{"title":"Pull figures from a research abstract","prompt":"Extract all the whole numbers from this research abstract so I can compare them: 'Participants numbered 84 across 3 trial sites, with 12 dropouts and a median age of 29 observed over 180 days.'"}],"resultDescription":"A JSON object containing the integers extracted from the input text, likely as an array of integer values found in order of appearance or grouped by context.","failureModes":["Text exceeds 50,000 character limit — request rejected or truncated","No integers present in input text — returns empty array","Ambiguous numeric formats (e.g. decimals, fractions) may be excluded or misclassified","Payment failure via x402 protocol — 402 response if USDC balance insufficient","Malformed request body missing required 'text' field — 400 error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost, pay-per-call extraction of integer values from unstructured text without setting up a full NLP pipeline. Ideal for autonomous agents operating on Base that need quick numeric parsing inline within a workflow. Best for plain text inputs under 50,000 characters where only whole-number extraction (not floats or complex expressions) is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:10.946Z","isFirstParty":false,"canonicalSlug":"one-engine-text-extract-integers-e02038b1"}