{"uid":"cap_oFE4QRHWKIgZiV7URQ76x","slug":"saylor-innovations-data-desk-text-entity-extractor-be82fb4f","name":"Saylor Innovations Data Desk – Text Entity Extractor","description":"Extract emails, URLs, IPs, phone numbers, money, percentages, dates, hashtags, mentions, EVM, Bitcoin and Solana-style addresses and UUIDs from text","url":"https://saylorinnovations.com/api/text/entities?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to scan, 5-5000 characters"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["characters","total_entities","entities"],"properties":{"note":{"type":"string","description":"Caveat or context for reading the result"},"counts":{"type":"object","properties":{"ipv4":{"type":["number","null"],"description":"IPv4 addresses found"},"urls":{"type":["number","null"],"description":"URLs found"},"dates":{"type":["number","null"],"description":"Dates found"},"money":{"type":["number","null"],"description":"Money amounts found"},"times":{"type":["number","null"],"description":"Times found"},"uuids":{"type":["number","null"],"description":"UUIDs found"},"emails":{"type":["number","null"],"description":"Emails found"},"phones":{"type":["number","null"],"description":"Phone numbers found"},"hashtags":{"type":["number","null"],"description":"Hashtags found"},"mentions":{"type":["number","null"],"description":"Mentions found"},"hex_colors":{"type":["number","null"],"description":"Hex colors"},"percentages":{"type":["number","null"],"description":"Percentages found"},"evm_addresses":{"type":["number","null"],"description":"Evm addresses"},"bitcoin_addresses":{"type":["number","null"],"description":"Bitcoin addresses"},"solana_like_addresses":{"type":["number","null"],"description":"Solana like addresses"}},"description":"How many of each entity type were found"},"source":{"type":"string","description":"Data source the values come from"},"entities":{"type":"object","description":"The entities found, grouped by type"},"pii_flag":{"type":"boolean","description":"Pii flag"},"characters":{"type":"number","description":"Number of characters scanned"},"total_entities":{"type":"number","description":"Total entities"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7AyrP82V8O5S3Hz6epnOq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured entities (emails, URLs, IPs, phone numbers, money, dates, hashtags, mentions, crypto addresses, UUIDs, and more) from a given text string","exampleAgentPrompt":"Scan this text and extract all the emails, phone numbers, URLs, crypto wallet addresses, and dates you can find: 'Contact us at support@acme.com or +1-800-555-0199. Visit https://acme.com for more info. Send funds to 0x71C7656EC7ab88b098defB751B7401B5f6d8976F before 2025-06-01.'","exampleUseCases":[{"title":"Harvest contacts from scraped web content","prompt":"I just scraped a raw block of text from a company's about page — can you pull out every email address and phone number in it? Here's the text: 'Reach our sales team at sales@widgetco.com or call +44 20 7946 0958. For billing, email billing@widgetco.com.'"},{"title":"Detect crypto addresses in on-chain message","prompt":"Someone posted a message in our Discord and I want to know if it contains any Ethereum, Bitcoin, or Solana wallet addresses — here's the raw message: 'Send your donation to bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq or 0xAbCd1234EF5678abcd1234ef5678ABCD1234ef56.'"},{"title":"Extract dates and deadlines from a contract","prompt":"Pull out all the dates, times, and money amounts mentioned in this contract excerpt so I can build a timeline: 'Payment of $12,500.00 is due on March 15, 2025, with a 5% late fee applied after April 1, 2025 at 11:59 PM.'"}],"resultDescription":"A JSON object containing a total entity count, a breakdown of counts per entity type (emails, URLs, phones, IPv4, dates, times, money, percentages, hashtags, mentions, hex colors, UUIDs, EVM addresses, Bitcoin addresses, Solana-like addresses), and a detailed entities object listing all discovered values per type. An optional note field may provide caveats about result interpretation.","failureModes":["Text shorter than 5 characters or longer than 5000 characters returns a validation error","Ambiguous or malformed patterns (e.g. partial phone numbers) may be silently omitted","Some entity types may return null counts if none were found, rather than zero","Payment failure (x402) if USDC balance is insufficient","False positives possible for loosely formatted entities like dates or money amounts"],"whenToPreferThis":"Choose this endpoint when you need to extract multiple heterogeneous entity types from a single text in one call, especially when the text may contain crypto wallet addresses (EVM, Bitcoin, Solana) alongside conventional contact data. It is ideal for processing unstructured text from emails, social posts, contracts, or logs where you don't know in advance which entity types are present. Prefer it over building custom regex pipelines or calling multiple specialized extractors separately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:20:08.404Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-text-entity-extractor-be82fb4f"}