{"openapi":"3.1.0","info":{"title":"Enrichr","description":"Micro-toll utility API — 50 billed utilities, pay per call. Latency is not a published SLO. Machine-readable contract: GET /v1/catalog and GET https://enrichrapi.dev/llms.txt. This API does not do mailbox SMTP, USPS/geocode, or trained NLP.","version":"0.2.0"},"paths":{"/v1/enrich/email":{"post":{"tags":["enrichment"],"summary":"Enrich Email","description":"Syntax-validate an email; optionally look up MX via DNS-over-HTTPS.\n\nMX means the domain publishes mail exchangers. This is not SMTP mailbox\nverification and never sets deliverability_checked.","operationId":"enrich_email_v1_enrich_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/enrich/email/batch":{"post":{"tags":["enrichment"],"summary":"Enrich Email Batch","description":"Batch email syntax (+ optional MX). Billed per item. MX ≠ mailbox.","operationId":"enrich_email_batch_v1_enrich_email_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailBatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/enrich/address":{"post":{"tags":["enrichment"],"summary":"Enrich Address","description":"Title-case normalization and US ZIP regex only — not USPS or geocoding.","operationId":"enrich_address_v1_enrich_address_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/enrich/phone":{"post":{"tags":["enrichment"],"summary":"Enrich Phone","operationId":"enrich_phone_v1_enrich_phone_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/enrich/ip":{"post":{"tags":["enrichment"],"summary":"Enrich Ip","description":"Geolocate a public IP over HTTPS. Private IPs are flagged locally.\n\nVendor failures return valid=true with error=geolocation_unavailable and\nnull coordinates — never invented lat/lon.","operationId":"enrich_ip_v1_enrich_ip_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IpRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/classify/text":{"post":{"tags":["classification"],"summary":"Classify Text","description":"Keyword/heuristic scores for sentiment, toxicity, and spam — not a trained model.","operationId":"classify_text_v1_classify_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/convert/currency":{"post":{"tags":["conversion"],"summary":"Currency","description":"Convert an amount between any two currencies (ECB rates, updated daily).","operationId":"currency_v1_convert_currency_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrencyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/convert/timezone":{"post":{"tags":["conversion"],"summary":"Timezone","description":"Convert a datetime from one IANA timezone to another (DST-aware).","operationId":"timezone_v1_convert_timezone_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimezoneRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/convert/units":{"post":{"tags":["conversion"],"summary":"Units","description":"Convert a value between units of measurement.\n\nSupported categories (auto-detected from unit name):\n- length: m, km, cm, mm, mi, yd, ft, in\n- weight: kg, g, mg, lb, oz, t\n- temperature: celsius, fahrenheit, kelvin\n- area: m2, km2, cm2, ft2, in2, acre, hectare\n- volume: l, ml, gal, qt, pt, fl_oz, m3, cm3","operationId":"units_v1_convert_units_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/convert/number":{"post":{"tags":["conversion"],"summary":"Number","description":"Convert a number between bases: decimal, binary, octal, hex, and Roman numerals.\n\nAlways returns all five representations. Roman numeral output is only\navailable for integers 1–3999.","operationId":"number_v1_convert_number_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NumberRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/convert/case":{"post":{"tags":["conversion"],"summary":"Case","description":"Convert a string to all common cases simultaneously.\n\nInput can be in any format: camelCase, PascalCase, snake_case,\nkebab-case, \"Title Case\", SCREAMING_SNAKE, etc.\nReturns camelCase, PascalCase, snake_case, SCREAMING_SNAKE,\nkebab-case, dot.case, Title Case, lower case, and UPPER CASE.","operationId":"case_v1_convert_case_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/convert/html-to-text":{"post":{"tags":["conversion"],"summary":"Html Text","description":"Strip HTML tags and return clean plain text.\n\nHandles block elements (p, div, h1-h6, li, tr) with proper newlines,\nstrips script/style content entirely, and decodes HTML entities.\nReturns the plain text, character count, and word count.","operationId":"html_text_v1_convert_html_to_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HtmlToTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/convert/markdown":{"post":{"tags":["conversion"],"summary":"Markdown","description":"Convert Markdown to HTML.\n\nHandles headings (h1–h6), bold, italic, bold+italic, strikethrough,\ninline code, fenced code blocks with language class, links, images,\nblockquotes, unordered lists, ordered lists, and horizontal rules.\nPure stdlib — no external dependencies.","operationId":"markdown_v1_convert_markdown_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/convert/encoding":{"post":{"tags":["conversion"],"summary":"Encoding","description":"Encode or decode a string using a common encoding scheme.\n\nSupported codecs: base64, base64url, hex, url (percent-encoding),\nhtml (entity encoding), rot13. Specify operation as \"encode\" or \"decode\".","operationId":"encoding_v1_convert_encoding_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EncodingRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/vat":{"post":{"tags":["validation"],"summary":"Vat","description":"Validate an EU VAT number.\n\nChecks format against country-specific patterns, then verifies\nagainst the live EU VIES database for company name and address.","operationId":"vat_v1_validate_vat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/password":{"post":{"tags":["validation"],"summary":"Password","description":"Check if a password has appeared in known data breaches and assess strength.\n\nUses HaveIBeenPwned k-anonymity API — only the first 5 chars of the SHA-1 hash\nare sent externally. The plaintext password never leaves this server.","operationId":"password_v1_validate_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__validate__PasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/credit-card":{"post":{"tags":["validation"],"summary":"Credit Card","description":"Validate a credit card number.\n\nPerforms Luhn checksum verification and detects the card network\n(Visa, Mastercard, Amex, Discover, etc.). The full card number is\nnever logged or stored — only a masked representation is returned.","operationId":"credit_card_v1_validate_credit_card_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditCardRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/iban":{"post":{"tags":["validation"],"summary":"Iban","description":"Validate an IBAN (International Bank Account Number).\n\nChecks format and length against country-specific rules for 77 countries,\nthen verifies the ISO 7064 MOD-97-10 checksum. No external API required.","operationId":"iban_v1_validate_iban_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IbanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/json":{"post":{"tags":["validation"],"summary":"Json","description":"Validate, format, and analyze a JSON string.\n\nReturns whether the JSON is valid, its root type, key/item count,\nnesting depth, a formatted (pretty-printed) version, and a minified version.","operationId":"json_v1_validate_json_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/color":{"post":{"tags":["validation"],"summary":"Color","description":"Validate a color and convert between hex, rgb, and hsl formats.\n\nAccepts hex (#FF5733 or #F53), rgb(255, 87, 51), rgba(), hsl(14, 100%, 60%),\nand hsla(). Returns all three formats plus a dark/light indicator.","operationId":"color_v1_validate_color_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ColorRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/domain":{"post":{"tags":["validation"],"summary":"Domain","description":"Validate a domain name.\n\nChecks format validity, resolves the DNS A record (confirming the domain\nexists), and checks for MX records (confirming it can receive email) via\nCloudflare DNS over HTTPS. Also flags known disposable email domains.","operationId":"domain_v1_validate_domain_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/domain/batch":{"post":{"tags":["validation"],"summary":"Domain Batch","description":"Batch domain format + DNS A + MX. Billed per item. Not mailbox verification.","operationId":"domain_batch_v1_validate_domain_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainBatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/regex":{"post":{"tags":["validation"],"summary":"Regex","description":"Test a regex pattern against a string.\n\nCompiles the pattern with optional flags (i=case-insensitive, m=multiline,\ns=dotall, x=verbose), then returns all matches with their start/end positions,\ncapture groups, and named groups. Max 200 matches returned.","operationId":"regex_v1_validate_regex_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/validate/uuid":{"post":{"tags":["validation"],"summary":"Uuid","description":"Validate a UUID and extract its metadata.\n\nChecks format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx), detects version\n(v1 time-based, v3 MD5, v4 random, v5 SHA-1), and returns the URN\nrepresentation, hex form, and integer value.","operationId":"uuid_v1_validate_uuid_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__validate__UuidRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/generate/qr":{"post":{"tags":["generation"],"summary":"Qr","description":"Generate a QR code.\n\nReturns a base64-encoded PNG and a ready-to-use data URI.\nWorks for URLs, plain text, vCards, WiFi credentials, etc.","operationId":"qr_v1_generate_qr_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QrRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/generate/uuid":{"post":{"tags":["generation"],"summary":"Uuid","description":"Generate one or more UUIDs.\n\nSupports UUID v1 (MAC address + timestamp) and v4 (random).\nUp to 100 UUIDs per request. No external API — pure stdlib.","operationId":"uuid_v1_generate_uuid_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__generate__UuidRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/generate/hash":{"post":{"tags":["generation"],"summary":"Hash","description":"Generate a cryptographic hash of any text.\n\nSupports MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512.\nOutput in hex, base64, or both. Pure stdlib — no external API.","operationId":"hash_v1_generate_hash_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HashRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/generate/password":{"post":{"tags":["generation"],"summary":"Password","description":"Generate a secure random password.\n\nUses Python's cryptographically secure `secrets` module.\nConfigure length (4–256), and whether to include symbols,\nnumbers, and uppercase characters. Returns entropy estimate.","operationId":"password_v1_generate_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__generate__PasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/generate/slug":{"post":{"tags":["generation"],"summary":"Slug","description":"Generate a URL-safe slug from any text.\n\nHandles Unicode normalization, removes punctuation, and collapses\nwhitespace. Supports custom separators and optional max length.","operationId":"slug_v1_generate_slug_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlugRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/generate/avatar":{"post":{"tags":["generation"],"summary":"Avatar","description":"Generate an SVG initials avatar from a name.\n\nExtracts up to 2 initials (first + last word), picks a deterministic\nbackground color from the name hash, and returns an inline SVG and\nbase64 data URI. Shapes: circle, square, or rounded square.","operationId":"avatar_v1_generate_avatar_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/generate/lorem":{"post":{"tags":["generation"],"summary":"Lorem","description":"Generate lorem ipsum placeholder text.\n\nReturns 1–50 paragraphs of randomized lorem ipsum with word count\nand character count. Pass a seed for reproducible output (useful\nfor design previews and tests).","operationId":"lorem_v1_generate_lorem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoremRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/generate/token":{"post":{"tags":["generation"],"summary":"Token","description":"Generate a cryptographically secure random token.\n\nStyles: hex (default), url_safe (base64), alphanumeric (letters+digits),\napi_key (prefixed, e.g. \"sk_...\"). Uses Python's secrets module.","operationId":"token_v1_generate_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/filter/profanity":{"post":{"tags":["filter"],"summary":"Profanity","description":"Detect and censor profanity in text.\n\nReturns a clean/dirty flag, a censored version of the text,\nflagged word count, and profanity ratio.","operationId":"profanity_v1_filter_profanity_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfanityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/lookup/postal":{"post":{"tags":["lookup"],"summary":"Postal","description":"Look up city, state, and coordinates for a postal code.\n\nSupports US ZIP codes and postal codes for 60+ countries\nvia Zippopotam.us (free, no key required).","operationId":"postal_v1_lookup_postal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/lookup/country":{"post":{"tags":["lookup"],"summary":"Country","description":"Look up country info by ISO code or name.\n\nAccepts ISO 3166-1 alpha-2 (e.g. \"US\"), alpha-3 (e.g. \"USA\"),\nor a full/partial country name (e.g. \"United States\", \"Germany\").\nReturns name, region, capital, currency, calling code, and flag emoji.\nBuilt-in dataset — no external API.","operationId":"country_v1_lookup_country_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/lookup/timezone":{"post":{"tags":["lookup"],"summary":"Timezone Info","description":"Look up timezone info by IANA name.\n\nReturns the UTC offset, DST status, abbreviation (e.g. EST/EDT),\ncurrent local time, current UTC time, and DST offset.\nUses Python's stdlib zoneinfo — no external API.","operationId":"timezone_info_v1_lookup_timezone_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimezoneInfoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/lookup/mime-type":{"post":{"tags":["lookup"],"summary":"Mime Type","description":"Look up a MIME type by file extension or filename, or reverse-lookup extensions by MIME type.\n\nForward lookup: pass \"png\", \".png\", \"photo.png\", or \"archive.tar.gz\"\nReverse lookup: pass \"image/png\" or \"application/json\"\nReturns MIME type, category (image/video/audio/text/data/document/font/binary),\nand binary/text flag.","operationId":"mime_type_v1_lookup_mime_type_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MimeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/parse/url":{"post":{"tags":["parse"],"summary":"Url","description":"Parse a URL into its components.\n\nExtracts scheme, host, domain, subdomain, TLD, port, path segments,\nquery parameters, UTM tags, and fragment. Useful for analytics pipelines,\nlink tracking, and URL normalization.","operationId":"url_v1_parse_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/parse/user-agent":{"post":{"tags":["parse"],"summary":"User Agent","description":"Parse a User-Agent string into browser, OS, and device details.\n\nDetects browser name and version, operating system and version,\ndevice type (desktop / mobile / tablet), and known bots\n(Googlebot, GPTBot, ClaudeBot, and 15+ others).\nPure regex — no external API.","operationId":"user_agent_v1_parse_user_agent_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAgentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/parse/csv":{"post":{"tags":["parse"],"summary":"Csv","description":"Parse a CSV string into structured rows.\n\nReturns headers (if present), row count, column count, and each\ndata row as a dict keyed by header name. Supports custom delimiters\n(comma, tab, pipe, semicolon). Pure stdlib — no external API.","operationId":"csv_v1_parse_csv_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CsvRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/parse/date":{"post":{"tags":["parse"],"summary":"Date","description":"Parse a date string in virtually any common format.\n\nDetects the format automatically and returns ISO 8601 date/datetime,\nyear/month/day components, day of week, week number, quarter,\nleap year status, and Unix timestamp. Pure stdlib — no external API.","operationId":"date_v1_parse_date_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/analyze/text":{"post":{"tags":["analyze"],"summary":"Text","description":"Analyze a piece of text.\n\nReturns word count, unique word count, sentence count, paragraph count,\naverage word length, reading time (238 wpm), speaking time (150 wpm),\nand Flesch Reading Ease score (0–100) with a plain-English label.\nPure computation — no external API.","operationId":"text_v1_analyze_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/analyze/tokens":{"post":{"tags":["analyze"],"summary":"Tokens","description":"Count LLM tokens for current major model IDs (registry dated in ``as_of``).\n\nPass any text and a model name to get the token count (or a close\napproximation for non-OpenAI models), how much of the model's context\nwindow is filled, tokens remaining, and estimated input cost.\n\nSupported IDs include gpt-5.6, gpt-5, gpt-4o, gpt-4.1, o3,\nclaude-opus-5, claude-sonnet-5, claude-haiku-4-5, gemini-3.5-flash,\nllama-4-maverick, mistral-large-3, deepseek-v4-flash, plus older\naliases such as claude-opus-4.\n\nOpenAI models use tiktoken (o200k_base / cl100k_base). All other families\nare approximated with cl100k_base (accurate to ±10%). Input prices are\nestimates; see the ``as_of`` field.","operationId":"tokens_v1_analyze_tokens_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokensRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/analyze/similarity":{"post":{"tags":["analyze"],"summary":"Similarity","description":"Compare two strings for similarity and deduplication scoring.\n\nReturns four complementary metrics:\n\n- **levenshtein_similarity** — edit-distance based (0–1), general purpose\n- **jaro_winkler** — favours common prefix, excellent for names\n- **token_overlap** — Jaccard on word tokens, best for sentences/addresses\n- **soundex_match** — phonetic match, catches spelling variants (Smith / Smyth)\n\nAlso returns a **combined_score** (weighted average) and a plain-English\n**duplicate_confidence**: high / medium / low / unlikely.\n\nUse cases: CRM deduplication, email list cleaning, record linkage,\nuser-input fuzzy matching, AI pipeline preprocessing.\nPure computation — no external API.","operationId":"similarity_v1_analyze_similarity_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimilarityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/extract/entities":{"post":{"tags":["extract"],"summary":"Entities","description":"Extract named entities from text.\n\nDetects and returns structured entities with their position (start/end char offset):\n\n**Regex-based (high accuracy):**\n- `email`       — email addresses\n- `url`         — http/https URLs\n- `phone`       — US and international phone numbers\n- `money`       — currency amounts ($, €, £, ¥, ₹, ₩)\n- `date`        — ISO dates, US/EU formats, written dates (Jan 31, 2024)\n- `ip_address`  — IPv4 addresses\n- `hashtag`     — #tags\n- `mention`     — @usernames\n\n**Heuristic-based (moderate accuracy):**\n- `person`      — consecutive title-cased word sequences (e.g. \"John Smith\")\n- `organization`— company names followed by Inc, Corp, LLC, Ltd, GmbH, etc.\n\nPass `types` to filter to specific entity types. Omit for all types.","operationId":"entities_v1_extract_entities_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/tools/jwt-decode":{"post":{"tags":["tools"],"summary":"Jwt Decode","operationId":"jwt_decode_v1_tools_jwt_decode_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtDecodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/tools/webhook-sign":{"post":{"tags":["tools"],"summary":"Webhook Sign","operationId":"webhook_sign_v1_tools_webhook_sign_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSignRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/tools/webhook-verify":{"post":{"tags":["tools"],"summary":"Webhook Verify","operationId":"webhook_verify_v1_tools_webhook_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/tools/cron-next":{"post":{"tags":["tools"],"summary":"Cron Next","operationId":"cron_next_v1_tools_cron_next_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/account/signup":{"post":{"tags":["account"],"summary":"Signup","description":"Create an isolated API key. Free tier and recovery require mailbox proof.","operationId":"signup_v1_account_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/recover":{"post":{"tags":["account"],"summary":"Recover","description":"Email a mailbox-proof link. Same response whether or not the address exists.","operationId":"recover_v1_account_recover_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoverRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoverResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/verify":{"post":{"tags":["account"],"summary":"Verify","description":"Consume a mailbox-proof token. May rotate a key on recovery.","operationId":"verify_v1_account_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/usage":{"get":{"tags":["account"],"summary":"Usage","description":"Check your usage for the current billing month.","operationId":"usage_v1_account_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/account/portal":{"post":{"tags":["account"],"summary":"Billing Portal","description":"Create a Stripe Billing Portal session and return its URL. The user\ncan update their payment method, view invoices, and cancel from there.","operationId":"billing_portal_v1_account_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/account/rotate":{"post":{"tags":["account"],"summary":"Rotate Api Key","description":"Rotate the caller's API key. The old key is immediately deactivated and\na brand new ``enr_…`` key is returned. The Stripe customer binding is\npreserved so usage continues on the same prepaid account.","operationId":"rotate_api_key_v1_account_rotate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotateResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/account/checkout":{"post":{"tags":["account"],"summary":"Checkout","description":"Open Stripe Checkout for the server-configured top-up. HTTP 503 while prepaid is off.","operationId":"checkout_v1_account_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/account/options":{"get":{"tags":["account"],"summary":"Options","operationId":"options_v1_account_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/webhooks/stripe":{"post":{"tags":["webhooks"],"summary":"Stripe Webhook","operationId":"stripe_webhook_v1_webhooks_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/llms.txt":{"get":{"tags":["meta"],"summary":"Llms Txt","description":"API summary for LLM coding assistants (llms.txt standard).","operationId":"llms_txt_v1_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/llms-full.txt":{"get":{"tags":["meta"],"summary":"Llms Full Txt","description":"Extended API description with examples for LLM coding assistants.","operationId":"llms_full_txt_v1_llms_full_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/catalog":{"get":{"tags":["meta"],"summary":"Billed Catalog","description":"Unauthenticated billed-utility catalog. Prices are read from settings.","operationId":"billed_catalog_v1_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Billed Catalog V1 Catalog Get"}}}}}}},"/v1/contacts/clean":{"post":{"tags":["contacts"],"summary":"Clean","operationId":"clean_v1_contacts_clean_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/llms.txt":{"get":{"summary":"Llms Txt Root","description":"Agent catalog at the llmstxt.org well-known root path.","operationId":"llms_txt_root_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","description":"Liveness probe. Always 200 if the app process is running.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}},"/health/deep":{"get":{"summary":"Health Deep","description":"Readiness probe. Pings Postgres and Redis and reports per-component status.","operationId":"health_deep_health_deep_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Deep Health Deep Get"}}}}}}}},"components":{"schemas":{"AddressRequest":{"properties":{"street":{"type":"string","title":"Street"},"city":{"type":"string","title":"City"},"state":{"type":"string","title":"State","default":""},"postal_code":{"type":"string","title":"Postal Code","default":""},"country":{"type":"string","title":"Country","default":"US"}},"type":"object","required":["street","city"],"title":"AddressRequest"},"AvatarRequest":{"properties":{"name":{"type":"string","title":"Name"},"size":{"type":"integer","title":"Size","default":64},"shape":{"type":"string","title":"Shape","default":"circle"}},"type":"object","required":["name"],"title":"AvatarRequest"},"BatchResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"count":{"type":"integer","title":"Count"},"results":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Results"},"cost_usd":{"type":"number","title":"Cost Usd"},"call_count_this_month":{"type":"integer","title":"Call Count This Month"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"},"operation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"output_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Sha256"}},"type":"object","required":["ok","count","results","cost_usd","call_count_this_month"],"title":"BatchResponse"},"CaseRequest":{"properties":{"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"CaseRequest"},"CleanRequest":{"properties":{"csv":{"type":"string","maxLength":256000,"title":"Csv"},"country_hint":{"type":"string","pattern":"^[A-Z]{2}$","title":"Country Hint","default":"US"}},"type":"object","required":["csv"],"title":"CleanRequest"},"ColorRequest":{"properties":{"color":{"type":"string","title":"Color"}},"type":"object","required":["color"],"title":"ColorRequest"},"CountryRequest":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"CountryRequest"},"CreditCardRequest":{"properties":{"number":{"type":"string","title":"Number"}},"type":"object","required":["number"],"title":"CreditCardRequest"},"CronRequest":{"properties":{"expression":{"type":"string","title":"Expression","description":"Standard 5-field cron expression or @alias."},"from_iso":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Iso","description":"ISO-8601 starting point in UTC. Defaults to 'now'."},"count":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Count","default":5}},"type":"object","required":["expression"],"title":"CronRequest"},"CsvRequest":{"properties":{"content":{"type":"string","title":"Content"},"delimiter":{"type":"string","title":"Delimiter","default":","},"has_header":{"type":"boolean","title":"Has Header","default":true}},"type":"object","required":["content"],"title":"CsvRequest"},"CurrencyRequest":{"properties":{"amount":{"type":"number","title":"Amount"},"from_currency":{"type":"string","title":"From Currency"},"to_currency":{"type":"string","title":"To Currency"}},"type":"object","required":["amount","from_currency","to_currency"],"title":"CurrencyRequest"},"DateRequest":{"properties":{"date_string":{"type":"string","title":"Date String"}},"type":"object","required":["date_string"],"title":"DateRequest"},"DomainBatchRequest":{"properties":{"domains":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Domains"}},"type":"object","required":["domains"],"title":"DomainBatchRequest"},"DomainRequest":{"properties":{"domain":{"type":"string","title":"Domain"}},"type":"object","required":["domain"],"title":"DomainRequest"},"EmailBatchRequest":{"properties":{"emails":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Emails"},"check_mx":{"type":"boolean","title":"Check Mx","default":true}},"type":"object","required":["emails"],"title":"EmailBatchRequest"},"EmailRequest":{"properties":{"email":{"type":"string","title":"Email"},"check_mx":{"type":"boolean","title":"Check Mx","default":true}},"type":"object","required":["email"],"title":"EmailRequest"},"EncodingRequest":{"properties":{"text":{"type":"string","title":"Text"},"codec":{"type":"string","title":"Codec","default":"base64"},"operation":{"type":"string","title":"Operation","default":"encode"}},"type":"object","required":["text"],"title":"EncodingRequest"},"EnrichResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"cost_usd":{"type":"number","title":"Cost Usd"},"call_count_this_month":{"type":"integer","title":"Call Count This Month"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"},"operation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"output_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Sha256"}},"type":"object","required":["ok","data","cost_usd","call_count_this_month"],"title":"EnrichResponse"},"EntitiesRequest":{"properties":{"text":{"type":"string","title":"Text"},"types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Types"}},"type":"object","required":["text"],"title":"EntitiesRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HashRequest":{"properties":{"text":{"type":"string","title":"Text"},"algorithm":{"type":"string","title":"Algorithm","default":"sha256"},"encoding":{"type":"string","title":"Encoding","default":"hex"}},"type":"object","required":["text"],"title":"HashRequest"},"HtmlToTextRequest":{"properties":{"html":{"type":"string","title":"Html"}},"type":"object","required":["html"],"title":"HtmlToTextRequest"},"IbanRequest":{"properties":{"iban":{"type":"string","title":"Iban"}},"type":"object","required":["iban"],"title":"IbanRequest"},"IpRequest":{"properties":{"ip":{"type":"string","title":"Ip"}},"type":"object","required":["ip"],"title":"IpRequest"},"JsonRequest":{"properties":{"json_string":{"type":"string","title":"Json String"}},"type":"object","required":["json_string"],"title":"JsonRequest"},"JwtDecodeRequest":{"properties":{"token":{"type":"string","title":"Token","description":"The full JWT (three dot-separated segments)."},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret","description":"Optional HMAC secret. When provided we verify HS256/384/512 signatures."}},"type":"object","required":["token"],"title":"JwtDecodeRequest"},"LoremRequest":{"properties":{"paragraphs":{"type":"integer","title":"Paragraphs","default":1},"sentences_per_paragraph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sentences Per Paragraph"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"}},"type":"object","title":"LoremRequest"},"MarkdownRequest":{"properties":{"markdown":{"type":"string","title":"Markdown"}},"type":"object","required":["markdown"],"title":"MarkdownRequest"},"MimeRequest":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"MimeRequest"},"NumberRequest":{"properties":{"value":{"type":"string","title":"Value"},"from_base":{"type":"string","title":"From Base"}},"type":"object","required":["value","from_base"],"title":"NumberRequest"},"PhoneRequest":{"properties":{"phone":{"type":"string","title":"Phone"},"country_hint":{"type":"string","title":"Country Hint","default":"US"}},"type":"object","required":["phone"],"title":"PhoneRequest"},"PortalResponse":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["url"],"title":"PortalResponse"},"PostalRequest":{"properties":{"postal_code":{"type":"string","title":"Postal Code"},"country":{"type":"string","title":"Country","default":"US"}},"type":"object","required":["postal_code"],"title":"PostalRequest"},"ProfanityRequest":{"properties":{"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"ProfanityRequest"},"QrRequest":{"properties":{"content":{"type":"string","title":"Content"},"box_size":{"type":"integer","title":"Box Size","default":10},"border":{"type":"integer","title":"Border","default":4}},"type":"object","required":["content"],"title":"QrRequest"},"RecoverRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"RecoverRequest"},"RecoverResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"RecoverResponse"},"RegexRequest":{"properties":{"pattern":{"type":"string","title":"Pattern"},"test_string":{"type":"string","title":"Test String"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags","default":[]},"max_matches":{"type":"integer","title":"Max Matches","default":50}},"type":"object","required":["pattern","test_string"],"title":"RegexRequest"},"RotateResponse":{"properties":{"api_key":{"type":"string","title":"Api Key"},"message":{"type":"string","title":"Message"}},"type":"object","required":["api_key","message"],"title":"RotateResponse"},"SignupRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"SignupRequest"},"SignupResponse":{"properties":{"api_key":{"type":"string","title":"Api Key"},"message":{"type":"string","title":"Message"},"email_verified":{"type":"boolean","title":"Email Verified","default":false},"verification_required":{"type":"boolean","title":"Verification Required","default":true}},"type":"object","required":["api_key","message"],"title":"SignupResponse"},"SimilarityRequest":{"properties":{"a":{"type":"string","title":"A"},"b":{"type":"string","title":"B"}},"type":"object","required":["a","b"],"title":"SimilarityRequest"},"SlugRequest":{"properties":{"text":{"type":"string","title":"Text"},"separator":{"type":"string","title":"Separator","default":"-"},"max_length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Length"}},"type":"object","required":["text"],"title":"SlugRequest"},"TextRequest":{"properties":{"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"TextRequest"},"TimezoneInfoRequest":{"properties":{"timezone":{"type":"string","title":"Timezone"}},"type":"object","required":["timezone"],"title":"TimezoneInfoRequest"},"TimezoneRequest":{"properties":{"datetime":{"type":"string","title":"Datetime"},"from_tz":{"type":"string","title":"From Tz"},"to_tz":{"type":"string","title":"To Tz"}},"type":"object","required":["datetime","from_tz","to_tz"],"title":"TimezoneRequest"},"TokenRequest":{"properties":{"length":{"type":"integer","title":"Length","default":32},"style":{"type":"string","title":"Style","default":"hex"},"prefix":{"type":"string","title":"Prefix","default":""}},"type":"object","title":"TokenRequest"},"TokensRequest":{"properties":{"text":{"type":"string","title":"Text"},"model":{"type":"string","title":"Model","default":"gpt-4o"}},"type":"object","required":["text"],"title":"TokensRequest"},"UnitsRequest":{"properties":{"value":{"type":"number","title":"Value"},"from_unit":{"type":"string","title":"From Unit"},"to_unit":{"type":"string","title":"To Unit"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},"type":"object","required":["value","from_unit","to_unit"],"title":"UnitsRequest"},"UrlRequest":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"UrlRequest"},"UsageResponse":{"properties":{"month":{"type":"string","title":"Month"},"calls":{"type":"integer","title":"Calls"},"free_tier_remaining":{"type":"integer","title":"Free Tier Remaining"},"estimated_charge_usd":{"type":"number","title":"Estimated Charge Usd"},"balance_usd":{"type":"number","title":"Balance Usd","default":0},"email_verified":{"type":"boolean","title":"Email Verified","default":false}},"type":"object","required":["month","calls","free_tier_remaining","estimated_charge_usd"],"title":"UsageResponse"},"UserAgentRequest":{"properties":{"user_agent":{"type":"string","title":"User Agent"}},"type":"object","required":["user_agent"],"title":"UserAgentRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VatRequest":{"properties":{"vat_number":{"type":"string","title":"Vat Number"}},"type":"object","required":["vat_number"],"title":"VatRequest"},"VerifyRequest":{"properties":{"token":{"type":"string","maxLength":256,"minLength":8,"title":"Token"}},"type":"object","required":["token"],"title":"VerifyRequest"},"VerifyResponse":{"properties":{"message":{"type":"string","title":"Message"},"email_verified":{"type":"boolean","title":"Email Verified"},"recovered":{"type":"boolean","title":"Recovered","default":false},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}},"type":"object","required":["message","email_verified"],"title":"VerifyResponse"},"WebhookSignRequest":{"properties":{"body":{"type":"string","title":"Body","description":"Raw request body to sign (use exact bytes for accuracy)."},"secret":{"type":"string","title":"Secret","description":"Webhook signing secret."},"algorithm":{"type":"string","enum":["sha1","sha256","sha512"],"title":"Algorithm","default":"sha256"},"encoding":{"type":"string","enum":["hex","base64","base64url"],"title":"Encoding","default":"hex"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp","description":"Optional Unix timestamp string used in the signing template."},"template":{"type":"string","title":"Template","description":"Format string with {body} and optional {timestamp}. Stripe uses '{timestamp}.{body}'.","default":"{body}"}},"type":"object","required":["body","secret"],"title":"WebhookSignRequest"},"WebhookVerifyRequest":{"properties":{"body":{"type":"string","title":"Body","description":"Raw request body to sign (use exact bytes for accuracy)."},"secret":{"type":"string","title":"Secret","description":"Webhook signing secret."},"algorithm":{"type":"string","enum":["sha1","sha256","sha512"],"title":"Algorithm","default":"sha256"},"encoding":{"type":"string","enum":["hex","base64","base64url"],"title":"Encoding","default":"hex"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp","description":"Optional Unix timestamp string used in the signing template."},"template":{"type":"string","title":"Template","description":"Format string with {body} and optional {timestamp}. Stripe uses '{timestamp}.{body}'.","default":"{body}"},"signature":{"type":"string","title":"Signature","description":"The signature received in the request."}},"type":"object","required":["body","secret","signature"],"title":"WebhookVerifyRequest"},"app__api__v1__endpoints__generate__PasswordRequest":{"properties":{"length":{"type":"integer","title":"Length","default":16},"symbols":{"type":"boolean","title":"Symbols","default":true},"numbers":{"type":"boolean","title":"Numbers","default":true},"uppercase":{"type":"boolean","title":"Uppercase","default":true}},"type":"object","title":"PasswordRequest"},"app__api__v1__endpoints__generate__UuidRequest":{"properties":{"version":{"type":"integer","title":"Version","default":4},"count":{"type":"integer","title":"Count","default":1}},"type":"object","title":"UuidRequest"},"app__api__v1__endpoints__validate__PasswordRequest":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"PasswordRequest"},"app__api__v1__endpoints__validate__UuidRequest":{"properties":{"uuid":{"type":"string","title":"Uuid"}},"type":"object","required":["uuid"],"title":"UuidRequest"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"Authorization"}}}}