{"uid":"cap_Ity17HQ6d4KWF8DTgIbwV","slug":"delx-extract-ints-dd83e0c2","name":"Delx Extract Ints","description":"Extract signed integers from free text. Call when you parse IDs, ports, or quantities out of messy agent logs. Returns integer list and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/extract-ints","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_QAEEPOr6Z6ZsPqDMMDRJs","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 signed integers from free-form text and returns them as a list with a count","exampleAgentPrompt":"Pull all the signed integers out of this log line for me: 'Connection failed on port 8080 after 3 retries, error code -404, timeout 30s'.","exampleUseCases":[{"title":"Parse port numbers from config dump","prompt":"Extract every integer from this config block so I can see which ports are being used: 'server listening on 443 and 8080, fallback 3000, max connections 512'."},{"title":"Pull error codes from agent log","prompt":"I've got a messy agent log line — can you find all the signed integers in it? Here it is: 'Task -1 failed at step 7 with exit code -127, retried 3 times, waited 60 seconds'."},{"title":"Count numeric IDs in raw API response","prompt":"This raw API response text has a bunch of user IDs and quantities mixed in — extract all the integers from it so I can process them: 'userID 9021 ordered 4 items, refID -302, shipment 8844'."}],"resultDescription":"Returns a JSON object containing a list of all signed integers found in the input text and the total count of integers extracted.","failureModes":["Empty or whitespace-only input may return an empty list with count 0","Non-text or binary input may produce unexpected results","Payment failure via x402 will block the request before processing","Very long text inputs may hit size limits"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-setup way to reliably extract signed integers from unstructured or messy text such as logs, config dumps, or agent output — especially in agentic pipelines where you want a local, stateless operation with no data retention and micropayment-based access via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:03.775Z","isFirstParty":false}