{"openapi":"3.1.0","info":{"title":"Qelka API","version":"1.0.0","description":"Validate phone numbers, verify email addresses, analyze IP addresses and check business and vehicle identifiers with one API key and one credit balance. Phone basic costs 1 credit, phone live 3, email 1, IP 1, IBAN 1, VAT 1, VIN 1, LEI 1, Phone reports 1, Domain 1, Website 1, Sanctions 2. Rate limits: 200 requests per 10 seconds per key, 1000 requests per 60 seconds per organization.","contact":{"email":"support@qelka.com","url":"https://qelka.com/docs"}},"servers":[{"url":"https://api.qelka.com/v1"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Phone","description":"Phone number validation."},{"name":"Email","description":"Email address verification."},{"name":"IP","description":"IP address intelligence."},{"name":"IBAN","description":"Validate an IBAN"},{"name":"VAT","description":"Check an EU VAT number"},{"name":"VIN","description":"Decode a VIN"},{"name":"LEI","description":"Look up a Legal Entity Identifier"},{"name":"Phone reports","description":"Check consumer reports to the FTC for a phone number"},{"name":"Domain","description":"Look up the registration, DNS and email setup of a domain"},{"name":"Website","description":"Read the contacts and brand of a website"},{"name":"Sanctions","description":"Screen a name against public sanctions lists"},{"name":"Batch and bulk","description":"Many lookups at once."},{"name":"Account","description":"Plan, credits and limits."}],"paths":{"/phone":{"post":{"operationId":"validatePhone","tags":["Phone"],"summary":"Validate a phone number","description":"Costs 1 credit at basic level and 3 at live level. A live lookup whose carrier provider fails returns 502 and is not billed.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneRequest"}}}},"responses":{"200":{"description":"The phone number result.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/email":{"post":{"operationId":"verifyEmail","tags":["Email"],"summary":"Verify an email address","description":"Costs 1 credit. When the mailbox check cannot run, the answer is status unknown, reason smtp_unavailable and credits_used 0.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailRequest"}}}},"responses":{"200":{"description":"The email address result.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/ip":{"post":{"operationId":"lookupIp","tags":["IP"],"summary":"Analyze an IP address","description":"Costs 1 credit. Private, reserved and documentation addresses return 422 and are not billed.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IpRequest"}}}},"responses":{"200":{"description":"The IP address result.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IpResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/iban":{"post":{"operationId":"validateIban","tags":["IBAN"],"summary":"Validate an IBAN","description":"Costs 1 credit. Checks the ISO 13616 check digits, the length and BBAN structure the SWIFT IBAN Registry defines for the country, extracts the bank and branch codes and tells whether the country is in SEPA. Computed locally: the IBAN is not sent to any third party.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IbanRequest"}}}},"responses":{"200":{"description":"Validate an IBAN","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IbanResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/vat":{"post":{"operationId":"checkVat","tags":["VAT"],"summary":"Check an EU VAT number","description":"Costs 1 credit. Checks the national format of the number, then asks VIES, the VAT Information Exchange System of the European Commission, whether it is active for intra-EU trade, with the registered name and address when the member state shares them. When VIES or the member state cannot answer, the result is status unavailable and credits_used 0. Results are cached 24 hours.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VatRequest"}}}},"responses":{"200":{"description":"Check an EU VAT number","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VatResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/vin":{"post":{"operationId":"decodeVin","tags":["VIN"],"summary":"Decode a VIN","description":"Costs 1 credit. Checks the 49 CFR 565 check digit, splits the VIN into its sections, decodes the region and model year locally, and adds make, model, trim, body, engine and plant from NHTSA vPIC. Results are cached 30 days.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VinRequest"}}}},"responses":{"200":{"description":"Decode a VIN","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VinResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/lei":{"post":{"operationId":"lookupLei","tags":["LEI"],"summary":"Look up a Legal Entity Identifier","description":"Costs 1 credit. Checks the ISO 17442 check digits, then reads the GLEIF record: legal name, entity and registration status, jurisdiction, legal form, addresses and direct and ultimate parents. Send name instead of lei to search by legal name. Results are cached 7 days.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeiRequest"}}}},"responses":{"200":{"description":"Look up a Legal Entity Identifier","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeiResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/phone/reports":{"post":{"operationId":"getPhoneReports","tags":["Phone reports"],"summary":"Check consumer reports to the FTC for a phone number","description":"Costs 1 credit. Counts the complaints consumers filed with the FTC Do Not Call registry naming this number as the caller, over the last 90 days of published data: report count, first and last day, days reported, subjects, reporter states, robocall share and reports per day. The reports are unverified consumer complaints and caller ID can be spoofed: a report says what consumers wrote, not who called. Numbers outside the North American Numbering Plan return status unsupported and cost 0. Never cached: the data is refreshed every day.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneReportsRequest"}}}},"responses":{"200":{"description":"Check consumer reports to the FTC for a phone number","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneReportsResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/domain":{"post":{"operationId":"lookupDomain","tags":["Domain"],"summary":"Look up the registration, DNS and email setup of a domain","description":"Costs 1 credit. Reads the registration from the registry RDAP server the IANA bootstrap file names for the TLD (creation and expiry dates, age, registrar, status codes, nameservers, DNSSEC), resolves A, AAAA, MX, NS and TXT records, and summarizes email authentication: MX, SPF, DMARC policy and the disposable domain flag. TLDs without an RDAP server return rdap.status unsupported and registration null. When the RDAP server does not answer, rdap.status is error and credits_used 0. Results are cached 24 hours.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRequest"}}}},"responses":{"200":{"description":"Look up the registration, DNS and email setup of a domain","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/website":{"post":{"operationId":"lookupWebsite","tags":["Website"],"summary":"Read the contacts and brand of a website","description":"Costs 1 credit when the homepage is read (status ok), 0 otherwise. Reads robots.txt first and stops when it disallows the crawler, then fetches the homepage (HTTPS, then HTTP) and the contact and about pages it links to on the same site, with a 6-second timeout and a 1500 kB cap per page. Scripts are never run. Returns emails, phone numbers validated with the phone parser, social profile links, company name, title, description, language, theme colour, favicon, logo and the software named by generator meta tags. Results with status ok are cached 7 days.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteRequest"}}}},"responses":{"200":{"description":"Read the contacts and brand of a website","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/sanctions":{"post":{"operationId":"screenSanctions","tags":["Sanctions"],"summary":"Screen a name against public sanctions lists","description":"Costs 2 credits. Compares a person or entity name, with every name and alias of the OFAC SDN and Consolidated lists, the EU financial sanctions list, the UN Security Council Consolidated List and the UK Sanctions List, refreshed every day: case, accents, word order and Cyrillic or Greek script are ignored, words are compared with Jaro-Winkler and a phonetic key. Optional country and date of birth adjust the score. Returns up to 10 candidates with score, list, reference, programs, aliases, countries, dates of birth and a link to the source. This is a screening aid, not a legal determination: review every possible match against the official list. Never cached; 0 credits when no list is loaded.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SanctionsRequest"}}}},"responses":{"200":{"description":"Screen a name against public sanctions lists","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SanctionsResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"502":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/batch":{"post":{"operationId":"batch","tags":["Batch and bulk"],"summary":"Run up to 100 mixed lookups","description":"Costs the sum of its items. Failed items are returned as errors and are not billed.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}}},"responses":{"200":{"description":"One entry per item, in order.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/bulk":{"post":{"operationId":"createBulkJob","tags":["Batch and bulk"],"summary":"Create a bulk CSV job","description":"Upload a CSV of up to 2000000 rows or 100 MB. Credits for every row are reserved at creation; unused credits are refunded when the job ends. Live keys only.","parameters":[{"name":"type","in":"query","required":true,"schema":{"type":"string","enum":["phone","email","ip","iban","vat","vin","lei","phone_reports","domain","website","sanctions"],"description":"What the column holds: phone, email, ip, iban, vat, vin, lei (an LEI or a legal name per cell), phone_reports, domain, website (a domain or URL per cell) or sanctions (a name per cell)."}},{"name":"column","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"description":"Header of the CSV column that holds the values to check."}},{"name":"country","in":"query","required":false,"schema":{"description":"Phone and phone_reports jobs: ISO 3166-1 alpha-2 code used to read numbers written without a + prefix. VAT jobs: member state of the numbers written without their prefix.","type":"string","pattern":"^[A-Za-z]{2}$"}},{"name":"requester","in":"query","required":false,"schema":{"description":"VAT jobs: your own EU VAT number, with prefix. VIES then returns a consultation number for every row it checks.","type":"string","minLength":4,"maxLength":40}},{"name":"level","in":"query","required":false,"schema":{"default":"basic","type":"string","enum":["basic","live"],"description":"`basic` reads the numbering plan (1 credit). `live` asks the network for the current carrier and portability (3 credits)."}},{"name":"mode","in":"query","required":false,"schema":{"default":"full","type":"string","enum":["full","fast"],"description":"`full` includes the SMTP mailbox check (p95 under 9 s). `fast` skips SMTP and answers in milliseconds."}}],"requestBody":{"required":true,"content":{"text/csv":{"schema":{"type":"string","contentMediaType":"text/csv"}},"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","contentMediaType":"text/csv"}},"required":["file"]}}}},"responses":{"202":{"description":"The job was created and queued.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkJob"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"402":{"$ref":"#/components/responses/InsufficientCredits"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/UnprocessableInput"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/bulk/{id}":{"get":{"operationId":"getBulkJob","tags":["Batch and bulk"],"summary":"Get a bulk job","description":"Free. Once the job is completed, download_url is a signed link valid 24 hours.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^bulk_[0-9A-HJKMNP-TV-Z]{26}$"}}],"responses":{"200":{"description":"The job.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkJob"}}}},"401":{"$ref":"#/components/responses/InvalidApiKey"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/bulk/{id}/download":{"get":{"operationId":"downloadBulkResult","tags":["Batch and bulk"],"summary":"Download the result CSV of a bulk job","description":"Use the download_url returned by GET /bulk/{id}. The link is signed and expires after 24 hours; it needs no API key.","security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"expires","in":"query","required":true,"schema":{"type":"integer"}},{"name":"signature","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The result CSV: the original columns followed by result_* columns.","content":{"text/csv":{"schema":{"type":"string"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/account":{"get":{"operationId":"getAccount","tags":["Account"],"summary":"Get the account of the calling key","description":"Free. Plan, credit balance and expiring credits, limits, and the calling key.","responses":{"200":{"description":"The account.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"401":{"$ref":"#/components/responses/InvalidApiKey"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"}}}}},"webhooks":{"bulk.completed":{"post":{"summary":"A bulk job ended","description":"Signed with the X-Signature header: t=<unix seconds>,v1=<hex HMAC-SHA256(secret, \"<t>.<raw body>\")>.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Acknowledge within 10 seconds."}}}},"credits.low":{"post":{"summary":"The credit balance fell under 10% of the plan monthly credits","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Acknowledge within 10 seconds."}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key","description":"sk_live_... for real lookups, sk_test_... for simulated, free responses."}},"headers":{"X-RateLimit-Limit":{"description":"Request limit of the tightest rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the tightest window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time, in seconds, when the tightest window resets.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Credit balance after this call.","schema":{"type":"integer"}},"X-Request-Id":{"description":"Identifier of this request, for support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"responses":{"InvalidRequest":{"description":"The request body or parameters are invalid.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"invalid_request","message":"The request body or parameters are invalid.","docs":"https://qelka.com/docs/errors#invalid_request"}}}}},"InvalidApiKey":{"description":"The API key is missing, malformed, unknown or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"invalid_api_key","message":"The API key is missing, malformed, unknown or revoked.","docs":"https://qelka.com/docs/errors#invalid_api_key"}}}}},"InsufficientCredits":{"description":"The credit balance is too low for this call. Nothing was billed.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"insufficient_credits","message":"The credit balance is too low for this call. Nothing was billed.","docs":"https://qelka.com/docs/errors#insufficient_credits"}}}}},"Forbidden":{"description":"The key is restricted to other endpoints, or a test key was used for a live-only feature.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"forbidden","message":"The key is restricted to other endpoints, or a test key was used for a live-only feature.","docs":"https://qelka.com/docs/errors#forbidden"}}}}},"NotFound":{"description":"The resource does not exist.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"not_found","message":"The resource does not exist.","docs":"https://qelka.com/docs/errors#not_found"}}}}},"UnprocessableInput":{"description":"The input cannot be processed. Nothing was billed.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"unprocessable_input","message":"The input cannot be processed. Nothing was billed.","docs":"https://qelka.com/docs/errors#unprocessable_input"}}}}},"RateLimited":{"description":"Too many requests. Nothing was billed.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"rate_limited","message":"Too many requests. Nothing was billed.","docs":"https://qelka.com/docs/errors#rate_limited"}}}}},"InternalError":{"description":"Unexpected error. Nothing was billed.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"internal_error","message":"Unexpected error. Nothing was billed.","docs":"https://qelka.com/docs/errors#internal_error"}}}}},"UpstreamUnavailable":{"description":"An upstream provider failed. Nothing was billed.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"type":"upstream_unavailable","message":"An upstream provider failed. Nothing was billed.","docs":"https://qelka.com/docs/errors#upstream_unavailable"}}}}}},"schemas":{"PhoneRequest":{"type":"object","properties":{"phone":{"type":"string","minLength":1,"maxLength":64,"description":"Phone number in any common format. E.164 is recommended.","example":"+14155550123"},"country":{"description":"ISO 3166-1 alpha-2 country used to read numbers written without an international prefix.","example":"US","type":"string","pattern":"^[A-Za-z]{2}$"},"level":{"default":"basic","type":"string","enum":["basic","live"],"description":"`basic` reads the numbering plan (1 credit). `live` asks the network for the current carrier and portability (3 credits)."},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["phone"],"additionalProperties":false},"EmailRequest":{"type":"object","properties":{"email":{"type":"string","minLength":1,"maxLength":320,"description":"Email address to verify.","example":"jane@example.com"},"mode":{"default":"full","type":"string","enum":["full","fast"],"description":"`full` includes the SMTP mailbox check (p95 under 9 s). `fast` skips SMTP and answers in milliseconds."},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["email"],"additionalProperties":false},"IpRequest":{"type":"object","properties":{"ip":{"type":"string","minLength":2,"maxLength":64,"description":"IPv4 or IPv6 address.","example":"203.0.113.42"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["ip"],"additionalProperties":false},"IbanRequest":{"type":"object","properties":{"iban":{"type":"string","minLength":1,"maxLength":64,"description":"IBAN in electronic or print format. Spaces, hyphens and a leading \"IBAN\" are ignored.","example":"DE89 3704 0044 0532 0130 00"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["iban"],"additionalProperties":false},"VatRequest":{"type":"object","properties":{"vat":{"type":"string","minLength":2,"maxLength":40,"description":"EU VAT number, with its country prefix (IE6388047V) or without it when country is sent. Spaces, dots and hyphens are ignored.","example":"IE6388047V"},"country":{"description":"Member state of a VAT number sent without prefix: an ISO 3166-1 alpha-2 code, or EL for Greece and XI for Northern Ireland.","example":"IE","type":"string","pattern":"^[A-Za-z]{2}$"},"requester":{"description":"Your own EU VAT number, with prefix. VIES then returns a consultation number that proves the check.","example":"FR40303265045","type":"string","minLength":4,"maxLength":40},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["vat"],"additionalProperties":false},"VinRequest":{"type":"object","properties":{"vin":{"type":"string","minLength":1,"maxLength":40,"description":"Vehicle Identification Number, 17 characters. Spaces and hyphens are ignored.","example":"1HGCM82633A004352"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["vin"],"additionalProperties":false},"LeiRequest":{"type":"object","properties":{"lei":{"description":"Legal Entity Identifier, 20 characters. Spaces are ignored. Send lei or name, not both.","example":"5493001KJTIIGC8Y1R12","type":"string","minLength":1,"maxLength":40},"name":{"description":"Legal name to search for. The best match of the GLEIF fuzzy search is returned, with up to 10 matches.","example":"Bloomberg Finance","type":"string","minLength":2,"maxLength":200},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"additionalProperties":false},"PhoneReportsRequest":{"type":"object","properties":{"phone":{"type":"string","minLength":1,"maxLength":64,"description":"Phone number of a NANP country (United States, Canada and the Caribbean), in E.164 or national format.","example":"+1 202-555-0143"},"country":{"description":"ISO 3166-1 alpha-2 country used to read a national number. Defaults to US.","example":"US","type":"string","pattern":"^[A-Za-z]{2}$"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["phone"],"additionalProperties":false},"DomainRequest":{"type":"object","properties":{"domain":{"type":"string","minLength":1,"maxLength":320,"description":"Domain name. A URL or an email address is accepted: its host is used, reduced to the registrable domain.","example":"cloudflare.com"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["domain"],"additionalProperties":false},"WebsiteRequest":{"type":"object","properties":{"url":{"type":"string","minLength":1,"maxLength":2048,"description":"Website address: a domain such as example.com or a URL. The homepage of its host is read, over HTTPS first.","example":"cloudflare.com"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["url"],"additionalProperties":false},"SanctionsRequest":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":200,"description":"Name of a person or an entity, in any order and any script that has a Latin transliteration (Cyrillic and Greek are converted).","example":"Vladimir Putin"},"country":{"description":"ISO 3166-1 alpha-2 country tied to the name: nationality, citizenship, residence or registration. Compared with the countries of each candidate.","example":"RU","type":"string","pattern":"^[A-Za-z]{2}$"},"birth_date":{"description":"Date of birth of a person, YYYY-MM-DD, or only the year. Compared with the dates of birth of each candidate.","example":"1952-10-07","type":"string","pattern":"^\\d{4}(?:-\\d{2}-\\d{2})?$"},"entity_type":{"default":"any","description":"person only returns individuals; entity returns organizations, vessels and aircraft.","type":"string","enum":["any","person","entity"]},"min_score":{"default":0.85,"description":"Lowest score a candidate needs to be returned, from 0.7 to 1.","type":"number","minimum":0.7,"maximum":1},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"}},"required":["name"],"additionalProperties":false},"BatchRequest":{"type":"object","properties":{"items":{"minItems":1,"maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"phone":{"type":"string","minLength":1,"maxLength":64,"description":"Phone number in any common format. E.164 is recommended.","example":"+14155550123"},"country":{"description":"ISO 3166-1 alpha-2 country used to read numbers written without an international prefix.","example":"US","type":"string","pattern":"^[A-Za-z]{2}$"},"level":{"default":"basic","type":"string","enum":["basic","live"],"description":"`basic` reads the numbering plan (1 credit). `live` asks the network for the current carrier and portability (3 credits)."},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"phone"}},"required":["phone","type"],"additionalProperties":false},{"type":"object","properties":{"email":{"type":"string","minLength":1,"maxLength":320,"description":"Email address to verify.","example":"jane@example.com"},"mode":{"default":"full","type":"string","enum":["full","fast"],"description":"`full` includes the SMTP mailbox check (p95 under 9 s). `fast` skips SMTP and answers in milliseconds."},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"email"}},"required":["email","type"],"additionalProperties":false},{"type":"object","properties":{"ip":{"type":"string","minLength":2,"maxLength":64,"description":"IPv4 or IPv6 address.","example":"203.0.113.42"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"ip"}},"required":["ip","type"],"additionalProperties":false},{"type":"object","properties":{"iban":{"type":"string","minLength":1,"maxLength":64,"description":"IBAN in electronic or print format. Spaces, hyphens and a leading \"IBAN\" are ignored.","example":"DE89 3704 0044 0532 0130 00"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"iban"}},"required":["iban","type"],"additionalProperties":false},{"type":"object","properties":{"vat":{"type":"string","minLength":2,"maxLength":40,"description":"EU VAT number, with its country prefix (IE6388047V) or without it when country is sent. Spaces, dots and hyphens are ignored.","example":"IE6388047V"},"country":{"description":"Member state of a VAT number sent without prefix: an ISO 3166-1 alpha-2 code, or EL for Greece and XI for Northern Ireland.","example":"IE","type":"string","pattern":"^[A-Za-z]{2}$"},"requester":{"description":"Your own EU VAT number, with prefix. VIES then returns a consultation number that proves the check.","example":"FR40303265045","type":"string","minLength":4,"maxLength":40},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"vat"}},"required":["vat","type"],"additionalProperties":false},{"type":"object","properties":{"vin":{"type":"string","minLength":1,"maxLength":40,"description":"Vehicle Identification Number, 17 characters. Spaces and hyphens are ignored.","example":"1HGCM82633A004352"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"vin"}},"required":["vin","type"],"additionalProperties":false},{"type":"object","properties":{"lei":{"description":"Legal Entity Identifier, 20 characters. Spaces are ignored. Send lei or name, not both.","example":"5493001KJTIIGC8Y1R12","type":"string","minLength":1,"maxLength":40},"name":{"description":"Legal name to search for. The best match of the GLEIF fuzzy search is returned, with up to 10 matches.","example":"Bloomberg Finance","type":"string","minLength":2,"maxLength":200},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"lei"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"phone":{"type":"string","minLength":1,"maxLength":64,"description":"Phone number of a NANP country (United States, Canada and the Caribbean), in E.164 or national format.","example":"+1 202-555-0143"},"country":{"description":"ISO 3166-1 alpha-2 country used to read a national number. Defaults to US.","example":"US","type":"string","pattern":"^[A-Za-z]{2}$"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"phone_reports"}},"required":["phone","type"],"additionalProperties":false},{"type":"object","properties":{"domain":{"type":"string","minLength":1,"maxLength":320,"description":"Domain name. A URL or an email address is accepted: its host is used, reduced to the registrable domain.","example":"cloudflare.com"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"domain"}},"required":["domain","type"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string","minLength":1,"maxLength":2048,"description":"Website address: a domain such as example.com or a URL. The homepage of its host is read, over HTTPS first.","example":"cloudflare.com"},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"website"}},"required":["url","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":200,"description":"Name of a person or an entity, in any order and any script that has a Latin transliteration (Cyrillic and Greek are converted).","example":"Vladimir Putin"},"country":{"description":"ISO 3166-1 alpha-2 country tied to the name: nationality, citizenship, residence or registration. Compared with the countries of each candidate.","example":"RU","type":"string","pattern":"^[A-Za-z]{2}$"},"birth_date":{"description":"Date of birth of a person, YYYY-MM-DD, or only the year. Compared with the dates of birth of each candidate.","example":"1952-10-07","type":"string","pattern":"^\\d{4}(?:-\\d{2}-\\d{2})?$"},"entity_type":{"default":"any","description":"person only returns individuals; entity returns organizations, vessels and aircraft.","type":"string","enum":["any","person","entity"]},"min_score":{"default":0.85,"description":"Lowest score a candidate needs to be returned, from 0.7 to 1.","type":"number","minimum":0.7,"maximum":1},"fresh":{"default":false,"description":"Bypass the 7-day result cache and recompute.","type":"boolean"},"type":{"type":"string","const":"sanctions"}},"required":["name","type"],"additionalProperties":false}]}}},"required":["items"],"additionalProperties":false},"BulkOptions":{"type":"object","properties":{"type":{"type":"string","enum":["phone","email","ip","iban","vat","vin","lei","phone_reports","domain","website","sanctions"],"description":"What the column holds: phone, email, ip, iban, vat, vin, lei (an LEI or a legal name per cell), phone_reports, domain, website (a domain or URL per cell) or sanctions (a name per cell)."},"column":{"type":"string","minLength":1,"maxLength":128,"description":"Header of the CSV column that holds the values to check."},"country":{"description":"Phone and phone_reports jobs: ISO 3166-1 alpha-2 code used to read numbers written without a + prefix. VAT jobs: member state of the numbers written without their prefix.","type":"string","pattern":"^[A-Za-z]{2}$"},"requester":{"description":"VAT jobs: your own EU VAT number, with prefix. VIES then returns a consultation number for every row it checks.","type":"string","minLength":4,"maxLength":40},"level":{"default":"basic","type":"string","enum":["basic","live"],"description":"`basic` reads the numbering plan (1 credit). `live` asks the network for the current carrier and portability (3 credits)."},"mode":{"default":"full","type":"string","enum":["full","fast"],"description":"`full` includes the SMTP mailbox check (p95 under 9 s). `fast` skips SMTP and answers in milliseconds."}},"required":["type","column"],"additionalProperties":false},"PhoneResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"phone"},"input":{"type":"string"},"valid":{"type":"boolean"},"status":{"type":"string","enum":["valid","invalid","unknown"]},"e164":{"type":["string","null"]},"national":{"type":["string","null"]},"country":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":2,"maxLength":2},"name":{"type":"string"},"calling_code":{"type":"string"}},"required":["code","name","calling_code"],"additionalProperties":false},{"type":"null"}]},"region":{"type":["string","null"]},"timezones":{"type":"array","items":{"type":"string"}},"line_type":{"type":"string","enum":["mobile","landline","fixed_line_or_mobile","voip","toll_free","premium_rate","shared_cost","personal_number","pager","uan","voicemail","unknown"]},"carrier":{"anyOf":[{"type":"object","properties":{"name":{"description":"Carrier name.","type":["string","null"]},"mcc":{"description":"Mobile country code, live level only.","type":["string","null"]},"mnc":{"description":"Mobile network code, live level only.","type":["string","null"]},"source":{"type":"string","enum":["live","numbering_plan"],"description":"`numbering_plan`: the carrier the range was originally assigned to; it cannot see ported or disconnected lines. `live`: the carrier currently serving the number."}},"required":["name","mcc","mnc","source"],"additionalProperties":false},{"type":"null"}]},"ported":{"description":"Live level only. Null at basic level, which cannot detect porting.","type":["boolean","null"]},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","valid","status","e164","national","country","region","timezones","line_type","carrier","ported","credits_used","cached"],"additionalProperties":false},"EmailResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"email"},"input":{"type":"string"},"status":{"type":"string","enum":["deliverable","undeliverable","risky","unknown"]},"reason":{"type":"string","enum":["accepted_email","invalid_syntax","domain_not_found","domain_no_mx","domain_null_mx","mailbox_not_found","mailbox_full","mailbox_disabled","catch_all","disposable","smtp_not_checked","smtp_unavailable","smtp_timeout","smtp_blocked","greylisted","provider_unverifiable","dns_error"]},"did_you_mean":{"type":["string","null"]},"checks":{"type":"object","properties":{"syntax":{"type":"boolean"},"mx":{"type":["boolean","null"]},"smtp":{"type":["boolean","null"]},"catch_all":{"type":["boolean","null"]},"disposable":{"type":"boolean"},"role":{"type":"boolean"},"free_provider":{"type":"boolean"}},"required":["syntax","mx","smtp","catch_all","disposable","role","free_provider"],"additionalProperties":false},"domain":{"type":"object","properties":{"name":{"type":["string","null"]},"spf":{"type":["boolean","null"]},"dmarc":{"type":["boolean","null"]}},"required":["name","spf","dmarc"],"additionalProperties":false},"score":{"type":"integer","minimum":0,"maximum":100},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","status","reason","did_you_mean","checks","domain","score","credits_used","cached"],"additionalProperties":false},"IpResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"ip"},"input":{"type":"string"},"version":{"anyOf":[{"type":"number","const":4},{"type":"number","const":6}]},"country":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 code."},"name":{"type":"string","description":"English short name."}},"required":["code","name"],"additionalProperties":false},{"type":"null"}]},"region":{"type":["string","null"]},"city":{"type":["string","null"]},"asn":{"anyOf":[{"type":"object","properties":{"number":{"type":"integer","minimum":0,"maximum":9007199254740991},"org":{"type":["string","null"]},"type":{"type":"string","enum":["hosting","isp","mobile","business","education","government","unknown"]}},"required":["number","org","type"],"additionalProperties":false},{"type":"null"}]},"flags":{"type":"object","properties":{"tor":{"type":"boolean"},"vpn":{"type":"boolean"},"proxy":{"type":"boolean"},"datacenter":{"type":"boolean"}},"required":["tor","vpn","proxy","datacenter"],"additionalProperties":false},"risk":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100},"level":{"type":"string","enum":["low","medium","high"]}},"required":["score","level"],"additionalProperties":false},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","version","country","region","city","asn","flags","risk","credits_used","cached"],"additionalProperties":false},"IbanResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"iban"},"input":{"type":"string"},"valid":{"type":"boolean","description":"True when the country, length, BBAN structure and ISO 7064 MOD 97-10 check digits are all correct."},"status":{"type":"string","enum":["valid","invalid"]},"reason":{"anyOf":[{"type":"string","enum":["invalid_characters","invalid_format","unsupported_country","invalid_length","invalid_bban","invalid_checksum"],"description":"Why the IBAN is invalid, in the order the checks run. Null when it is valid."},{"type":"null"}]},"iban":{"description":"The IBAN in electronic format: upper case, no spaces. Null when the input has characters an IBAN cannot contain.","type":["string","null"]},"formats":{"anyOf":[{"type":"object","properties":{"electronic":{"type":"string","description":"Upper case, no spaces, as stored and transmitted."},"print":{"type":"string","description":"Groups of four characters separated by spaces, as printed for people."}},"required":["electronic","print"],"additionalProperties":false},{"type":"null"}]},"country":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 code."},"name":{"type":"string","description":"English short name."}},"required":["code","name"],"additionalProperties":false},{"type":"null"}],"description":"Country of the IBAN, from its first two letters. Null when the country is not in the IBAN registry."},"check_digits":{"description":"The two check digits, positions 3 and 4.","type":["string","null"]},"bban":{"description":"Basic Bank Account Number: the national account identifier after the check digits.","type":["string","null"]},"bank_code":{"description":"Bank identifier read from the BBAN at the position the registry defines.","type":["string","null"]},"branch_code":{"description":"Branch identifier, for countries whose BBAN has one.","type":["string","null"]},"sepa":{"description":"True when the country is in the geographical scope of the SEPA payment schemes.","type":["boolean","null"]},"expected_length":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}],"description":"IBAN length the registry defines for this country."},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","valid","status","reason","iban","formats","country","check_digits","bban","bank_code","branch_code","sepa","expected_length","credits_used","cached"],"additionalProperties":false},"VatResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"vat"},"input":{"type":"string"},"valid":{"description":"True when VIES confirms the number is active for intra-EU trade, false when the format or VIES says no, null when VIES could not answer.","type":["boolean","null"]},"status":{"type":"string","enum":["valid","invalid","unavailable"]},"reason":{"anyOf":[{"type":"string","enum":["invalid_format","not_registered","ms_unavailable","service_unavailable","timeout","ms_max_concurrent_req","global_max_concurrent_req","vat_blocked","ip_blocked"],"description":"Why the number is invalid or could not be checked. Null when it is valid."},{"type":"null"}]},"country":{"type":"object","properties":{"code":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 code."},"name":{"type":"string","description":"English short name."}},"required":["code","name"],"additionalProperties":false,"description":"Member state of the number. Northern Ireland numbers (XI) report the United Kingdom."},"prefix":{"type":"string","minLength":2,"maxLength":2,"description":"VAT prefix of the member state: the ISO code, except EL for Greece and XI for Northern Ireland."},"vat_number":{"type":"string","description":"The number without its prefix, upper case, without separators."},"formatted":{"type":"string","description":"Prefix and number, as VAT numbers are written on invoices."},"format_valid":{"type":"boolean","description":"True when the number follows the national format of its member state."},"name":{"description":"Registered name, when the member state shares it through VIES.","type":["string","null"]},"address":{"description":"Registered address on one line, when the member state shares it through VIES.","type":["string","null"]},"vies":{"type":"object","properties":{"checked":{"type":"boolean","description":"True when VIES answered for this number."},"request_date":{"description":"Date and time of the VIES check, as VIES reports it.","type":["string","null"]},"consultation_number":{"description":"VIES consultation number, returned when requester was sent.","type":["string","null"]}},"required":["checked","request_date","consultation_number"],"additionalProperties":false,"description":"What the VAT Information Exchange System of the European Commission answered."},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","valid","status","reason","country","prefix","vat_number","formatted","format_valid","name","address","vies","credits_used","cached"],"additionalProperties":false},"VinResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"vin"},"input":{"type":"string"},"valid":{"type":"boolean","description":"True when the VIN has 17 allowed characters and, for North American manufacturers, a correct check digit."},"status":{"type":"string","enum":["valid","invalid"]},"reason":{"anyOf":[{"type":"string","enum":["invalid_length","invalid_characters","invalid_check_digit"],"description":"Why the VIN is invalid. Null when it is valid."},{"type":"null"}]},"vin":{"description":"The VIN, upper case, without separators. Null when it is not 17 characters long.","type":["string","null"]},"wmi":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","description":"World Manufacturer Identifier: positions 1 to 3."},"region":{"type":"string","enum":["africa","asia","europe","north_america","oceania","south_america"],"description":"Region of the manufacturer, from the first character (ISO 3780)."},"small_manufacturer":{"type":"boolean","description":"True when the third character is 9: the manufacturer is identified with positions 12 to 14."}},"required":["code","region","small_manufacturer"],"additionalProperties":false},{"type":"null"}]},"vds":{"description":"Vehicle Descriptor Section: positions 4 to 8.","type":["string","null"]},"vis":{"description":"Vehicle Identifier Section: positions 10 to 17.","type":["string","null"]},"check_digit":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","description":"Position 9 as written."},"expected":{"type":"string","description":"Check digit computed as 49 CFR 565.15 specifies."},"valid":{"type":"boolean"},"required":{"type":"boolean","description":"True for North American manufacturers, which must use it; elsewhere position 9 may be free."}},"required":["value","expected","valid","required"],"additionalProperties":false},{"type":"null"}]},"model_year":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","description":"Position 10."},"candidates":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"Years this code stands for in the 30-year cycle, up to next year."},"estimate":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"Most likely year, from position 7 for North American vehicles, else the latest candidate."}},"required":["code","candidates","estimate"],"additionalProperties":false},{"type":"null"}]},"plant_code":{"description":"Position 11: the assembly plant, for North American manufacturers.","type":["string","null"]},"serial_number":{"description":"Positions 12 to 17.","type":["string","null"]},"vehicle":{"anyOf":[{"type":"object","properties":{"make":{"type":["string","null"]},"model":{"type":["string","null"]},"model_year":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"trim":{"type":["string","null"]},"series":{"type":["string","null"]},"body_class":{"type":["string","null"]},"vehicle_type":{"type":["string","null"]},"doors":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"drive_type":{"type":["string","null"]},"fuel_type":{"type":["string","null"]},"engine":{"type":"object","properties":{"cylinders":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"displacement_l":{"type":["number","null"]},"horsepower":{"type":["number","null"]},"configuration":{"type":["string","null"]},"model":{"type":["string","null"]}},"required":["cylinders","displacement_l","horsepower","configuration","model"],"additionalProperties":false},"transmission":{"type":"object","properties":{"style":{"type":["string","null"]},"speeds":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["style","speeds"],"additionalProperties":false},"manufacturer":{"type":["string","null"]},"plant":{"type":"object","properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]},"company":{"type":["string","null"]}},"required":["city","state","country","company"],"additionalProperties":false},"gvwr":{"type":["string","null"]}},"required":["make","model","model_year","trim","series","body_class","vehicle_type","doors","drive_type","fuel_type","engine","transmission","manufacturer","plant","gvwr"],"additionalProperties":false,"description":"What NHTSA vPIC decodes for this VIN. Null when vPIC has no make, model or year for it."},{"type":"null"}]},"nhtsa":{"anyOf":[{"type":"object","properties":{"error_codes":{"type":"array","items":{"type":"string"},"description":"vPIC decoding codes; 0 means the VIN decoded clean."},"message":{"type":["string","null"]}},"required":["error_codes","message"],"additionalProperties":false},{"type":"null"}]},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","valid","status","reason","vin","wmi","vds","vis","check_digit","model_year","plant_code","serial_number","vehicle","nhtsa","credits_used","cached"],"additionalProperties":false},"LeiResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"lei"},"input":{"type":"string"},"query":{"type":"string","enum":["lei","name"],"description":"Whether the lookup was by LEI or by name."},"valid":{"description":"True when the LEI has 20 characters and correct ISO 17442 check digits. Null for a name search without match.","type":["boolean","null"]},"status":{"type":"string","enum":["found","not_found","invalid"]},"reason":{"anyOf":[{"type":"string","enum":["invalid_format","invalid_checksum","not_in_gleif","no_match"],"description":"Why no record is returned. Null when one is found."},{"type":"null"}]},"lei":{"type":["string","null"]},"legal_name":{"type":["string","null"]},"entity_status":{"description":"active or inactive, as the entity reports it to GLEIF.","type":["string","null"]},"registration_status":{"description":"Status of the LEI itself: issued, lapsed, retired, merged, annulled, duplicate, pending_transfer or pending_archival.","type":["string","null"]},"jurisdiction":{"description":"Legal jurisdiction: an ISO 3166-1 or ISO 3166-2 code, such as FR or US-DE.","type":["string","null"]},"category":{"description":"general, branch, fund, sole_proprietor, resident_government_entity or international_organization.","type":["string","null"]},"legal_form":{"anyOf":[{"type":"object","properties":{"code":{"description":"ISO 20275 Entity Legal Form (ELF) code.","type":["string","null"]},"name":{"type":["string","null"]}},"required":["code","name"],"additionalProperties":false},{"type":"null"}]},"registered_as":{"description":"Identifier of the entity in its business register.","type":["string","null"]},"legal_address":{"anyOf":[{"type":"object","properties":{"lines":{"type":"array","items":{"type":"string"}},"city":{"type":["string","null"]},"region":{"description":"ISO 3166-2 subdivision code, such as US-DE.","type":["string","null"]},"postal_code":{"type":["string","null"]},"country":{"description":"ISO 3166-1 alpha-2 code.","type":["string","null"]}},"required":["lines","city","region","postal_code","country"],"additionalProperties":false},{"type":"null"}]},"headquarters_address":{"anyOf":[{"type":"object","properties":{"lines":{"type":"array","items":{"type":"string"}},"city":{"type":["string","null"]},"region":{"description":"ISO 3166-2 subdivision code, such as US-DE.","type":["string","null"]},"postal_code":{"type":["string","null"]},"country":{"description":"ISO 3166-1 alpha-2 code.","type":["string","null"]}},"required":["lines","city","region","postal_code","country"],"additionalProperties":false},{"type":"null"}]},"registration":{"anyOf":[{"type":"object","properties":{"initial_date":{"type":["string","null"]},"last_update":{"type":["string","null"]},"next_renewal":{"type":["string","null"]},"managing_lou":{"description":"LEI of the Local Operating Unit that manages the record.","type":["string","null"]}},"required":["initial_date","last_update","next_renewal","managing_lou"],"additionalProperties":false},{"type":"null"}]},"direct_parent":{"anyOf":[{"type":"object","properties":{"lei":{"type":"string"},"legal_name":{"type":["string","null"]}},"required":["lei","legal_name"],"additionalProperties":false},{"type":"null"}],"description":"Direct accounting consolidating parent, when one is reported."},"ultimate_parent":{"anyOf":[{"type":"object","properties":{"lei":{"type":"string"},"legal_name":{"type":["string","null"]}},"required":["lei","legal_name"],"additionalProperties":false},{"type":"null"}],"description":"Ultimate accounting consolidating parent, when one is reported."},"matches":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"lei":{"type":"string"},"legal_name":{"type":["string","null"]}},"required":["lei","legal_name"],"additionalProperties":false}},{"type":"null"}],"description":"For a name search: up to 10 candidates, best first. Null for a lookup by LEI."},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","query","valid","status","reason","lei","legal_name","entity_status","registration_status","jurisdiction","category","legal_form","registered_as","legal_address","headquarters_address","registration","direct_parent","ultimate_parent","matches","credits_used","cached"],"additionalProperties":false},"PhoneReportsResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"phone_reports"},"input":{"type":"string"},"status":{"type":"string","enum":["reported","not_reported","unsupported"],"description":"reported when at least one consumer reported the number to the FTC in the window, not_reported otherwise. unsupported for numbers outside the North American Numbering Plan, which the FTC data does not cover."},"e164":{"type":["string","null"]},"reports":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Consumer complaints to the FTC Do Not Call registry that name this number as the caller, over the window."},"first_reported":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"last_reported":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"days_reported":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Days with at least one complaint."},"robocall_share":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}],"description":"Share of complaints, among those that answered the question, saying the call was a recorded message or robocall. Null when none answered."},"subjects":{"type":"array","items":{"type":"object","properties":{"subject":{"type":"string","description":"Subject the consumer picked in the FTC complaint form, as published."},"reports":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["subject","reports"],"additionalProperties":false},"description":"Most reported subjects, up to 5. Complaints without a subject are left out."},"states":{"type":"array","items":{"type":"object","properties":{"state":{"type":"string","minLength":2,"maxLength":2,"description":"USPS code of the state the consumer reported from."},"reports":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["state","reports"],"additionalProperties":false},"description":"States the consumers reported from, up to 5."},"timeline":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"reports":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["day","reports"],"additionalProperties":false},"description":"Complaints per day, oldest first."},"window":{"anyOf":[{"type":"object","properties":{"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"days":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["from","to","days"],"additionalProperties":false,"description":"Complaint creation days covered by the data, in Eastern time. Null until the data is loaded."},{"type":"null"}]},"verified":{"type":"boolean","const":false,"description":"Always false: the FTC does not verify the reports, and caller ID can be spoofed."},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","status","e164","reports","first_reported","last_reported","days_reported","robocall_share","subjects","states","timeline","window","verified","credits_used","cached"],"additionalProperties":false,"description":"Consumer reports to the FTC over the last 90 days of published data."},"DomainResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"domain"},"input":{"type":"string"},"domain":{"type":"string","description":"Registrable domain that was looked up, in ASCII (punycode for internationalized names)."},"tld":{"type":"string"},"status":{"type":"string","enum":["registered","not_registered","unknown"],"description":"registered when the registry has a record or the domain is delegated in DNS, not_registered when the registry answers that it has none, unknown when neither tells."},"rdap":{"type":"object","properties":{"status":{"type":"string","enum":["found","not_found","unsupported","error"],"description":"found: the registry RDAP server returned the domain. not_found: it answered that the domain does not exist. unsupported: the TLD has no RDAP server in the IANA bootstrap file, so registration fields are null. error: the RDAP server did not answer; nothing is billed."},"server":{"description":"Base URL of the RDAP server the IANA bootstrap file names for the TLD.","type":["string","null"]}},"required":["status","server"],"additionalProperties":false},"registration":{"anyOf":[{"type":"object","properties":{"created_at":{"description":"Registration date from the RDAP registration event, ISO 8601.","type":["string","null"]},"updated_at":{"description":"Last change of the registration, ISO 8601.","type":["string","null"]},"expires_at":{"description":"Expiration date, ISO 8601. Some registries do not publish it.","type":["string","null"]},"age_days":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}],"description":"Whole days since the registration date."},"expires_in_days":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"Whole days until the expiration date, negative once it has passed."},"registrar":{"anyOf":[{"type":"object","properties":{"name":{"type":["string","null"]},"iana_id":{"description":"IANA Registrar ID, for registrars accredited by ICANN.","type":["string","null"]}},"required":["name","iana_id"],"additionalProperties":false},{"type":"null"}]},"statuses":{"type":"array","items":{"type":"string"},"description":"RDAP status values, such as client transfer prohibited (RFC 8056 maps them to EPP status codes)."},"nameservers":{"type":"array","items":{"type":"string"}},"dnssec":{"description":"True when the registry says the delegation is signed.","type":["boolean","null"]}},"required":["created_at","updated_at","expires_at","age_days","expires_in_days","registrar","statuses","nameservers","dnssec"],"additionalProperties":false,"description":"Registration data from the registry RDAP server. Null when the TLD has no RDAP server or the domain is not found."},{"type":"null"}]},"dns":{"type":"object","properties":{"status":{"type":"string","enum":["NOERROR","NXDOMAIN","SERVFAIL","REFUSED","TIMEOUT"],"description":"DNS answer status of the NS query for the domain."},"a":{"type":"array","items":{"type":"string"}},"aaaa":{"type":"array","items":{"type":"string"}},"mx":{"type":"array","items":{"type":"object","properties":{"priority":{"type":"integer","minimum":0,"maximum":9007199254740991},"exchange":{"type":"string"}},"required":["priority","exchange"],"additionalProperties":false}},"ns":{"type":"array","items":{"type":"string"}},"txt":{"type":"object","properties":{"records":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of TXT records at the domain."},"spf":{"description":"The SPF record, when there is exactly one.","type":["string","null"]},"verifications":{"type":"array","items":{"type":"string"},"description":"Services whose domain verification token is published in TXT, such as google or microsoft."}},"required":["records","spf","verifications"],"additionalProperties":false}},"required":["status","a","aaaa","mx","ns","txt"],"additionalProperties":false},"email":{"type":"object","properties":{"mx":{"type":"boolean","description":"True when the domain has at least one usable MX record."},"null_mx":{"type":"boolean","description":"True when the domain publishes a null MX (RFC 7505): it accepts no email."},"provider":{"description":"Mail provider recognized from the MX hosts.","type":["string","null"]},"spf":{"type":"boolean"},"spf_all":{"anyOf":[{"type":"string","enum":["pass","fail","softfail","neutral"]},{"type":"null"}],"description":"Result of the final all mechanism of the SPF record: fail (-all), softfail (~all), neutral (?all) or pass (+all)."},"dmarc":{"type":"boolean"},"dmarc_policy":{"anyOf":[{"type":"string","enum":["none","quarantine","reject"]},{"type":"null"}]},"disposable":{"type":"boolean","description":"True when the domain, or a parent of it, is on the disposable email domain list."}},"required":["mx","null_mx","provider","spf","spf_all","dmarc","dmarc_policy","disposable"],"additionalProperties":false},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","domain","tld","status","rdap","registration","dns","email","credits_used","cached"],"additionalProperties":false,"description":"Registration, DNS and email authentication of a domain. Results are cached 24 hours."},"WebsiteResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"website"},"input":{"type":"string"},"url":{"type":"string","description":"Homepage URL that was requested."},"final_url":{"description":"URL of the homepage after redirects.","type":["string","null"]},"host":{"type":"string","description":"Host of the final URL, or of the requested one when nothing was read."},"status":{"type":"string","enum":["ok","robots_disallowed","unreachable","http_error","not_html"],"description":"ok: the homepage was read. robots_disallowed: robots.txt forbids it to the crawler, or answered a server error. unreachable: no answer over HTTPS or HTTP. http_error: the homepage answered an error status. not_html: the homepage is not an HTML page. Only ok is billed."},"http_status":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"pages":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"kind":{"type":"string","enum":["home","contact","about"]},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"HTTP status of the page."}},"required":["url","kind","status"],"additionalProperties":false},"description":"Pages read: the homepage, then the contact and about pages it links to on the same site."},"name":{"description":"Company or site name, from Organization structured data, og:site_name, application-name or the title.","type":["string","null"]},"title":{"type":["string","null"]},"description":{"type":["string","null"]},"language":{"description":"Language of the homepage, from the lang attribute of html, as a BCP 47 tag.","type":["string","null"]},"theme_color":{"description":"Value of the theme-color meta tag.","type":["string","null"]},"favicon":{"description":"Absolute URL of the icon the page declares.","type":["string","null"]},"logo":{"description":"Absolute URL of the logo, from Organization structured data or an image marked as a logo.","type":["string","null"]},"emails":{"type":"array","items":{"type":"string"},"description":"Email addresses found in mailto links, the text and structured data, lower case."},"phones":{"type":"array","items":{"type":"object","properties":{"e164":{"type":"string"},"country":{"description":"ISO 3166-1 alpha-2 code of the number.","type":["string","null"]}},"required":["e164","country"],"additionalProperties":false},"description":"Phone numbers found in tel links, international numbers in the text and structured data, kept only when valid."},"socials":{"type":"array","items":{"type":"object","properties":{"network":{"type":"string","enum":["linkedin","x","facebook","instagram","youtube","tiktok","github","pinterest","threads","bluesky","telegram","discord"]},"url":{"type":"string"},"handle":{"type":["string","null"]}},"required":["network","url","handle"],"additionalProperties":false}},"technologies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":["string","null"]}},"required":["name","version"],"additionalProperties":false},"description":"Software named by generator meta tags. Nothing is guessed from scripts or markup."},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","url","final_url","host","status","http_status","pages","name","title","description","language","theme_color","favicon","logo","emails","phones","socials","technologies","credits_used","cached"],"additionalProperties":false,"description":"Contacts and brand assets of a website. Results are cached 7 days."},"SanctionsResult":{"type":"object","properties":{"id":{"type":"string","pattern":"^lkp_[0-9A-HJKMNP-TV-Z]{10,26}$","description":"Unique identifier of this lookup.","example":"lkp_01JD8Z3K7QWZ4M2A5T9CB6XNPR"},"object":{"type":"string","const":"sanctions"},"input":{"type":"string"},"query":{"type":"object","properties":{"name":{"type":"string","description":"The name as compared: lower case, accents removed, transliterated."},"country":{"type":["string","null"]},"birth_date":{"type":["string","null"]},"entity_type":{"type":"string","enum":["any","person","entity"]},"min_score":{"type":"number"}},"required":["name","country","birth_date","entity_type","min_score"],"additionalProperties":false},"status":{"type":"string","enum":["possible_match","no_match"],"description":"possible_match when at least one entry scores min_score or more. It is a lead to review, never a determination."},"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the entry: the list and its reference on that list."},"list":{"type":"string","enum":["ofac_sdn","ofac_consolidated","eu","un","uk"],"description":"ofac_sdn: OFAC SDN list. ofac_consolidated: OFAC non-SDN lists. eu: EU financial sanctions. un: UN Security Council Consolidated List, not loaded (its terms allow personal, non-commercial use only), so no match carries it. uk: UK Sanctions List."},"reference":{"type":"string","description":"Identifier the list publisher gives the entry, such as the OFAC entity number or the UK unique ID."},"type":{"type":"string","enum":["person","entity","vessel","aircraft","unknown"]},"name":{"type":"string","description":"Primary name, as published."},"matched_name":{"type":"string","description":"The name or alias that matched best, as published."},"score":{"type":"number","minimum":0,"maximum":1,"description":"Name score adjusted by the country and date of birth checks."},"name_score":{"type":"number","minimum":0,"maximum":1,"description":"Similarity of the names alone, word order and accents ignored."},"strength":{"type":"string","enum":["strong","medium","weak"],"description":"strong from 0.95, medium from 0.9, weak below."},"checks":{"type":"object","properties":{"country":{"type":"string","enum":["match","mismatch","unknown"],"description":"unknown when you sent no country or the entry lists none."},"birth_date":{"type":"string","enum":["match","mismatch","unknown"],"description":"unknown when you sent no date, the entry lists none or is not a person."}},"required":["country","birth_date"],"additionalProperties":false},"aliases":{"type":"array","items":{"type":"string"},"description":"Other names of the entry, as published, up to 20."},"programs":{"type":"array","items":{"type":"string"},"description":"Sanctions programs or regimes, as the list names them."},"countries":{"type":"array","items":{"type":"string"},"description":"ISO 3166-1 alpha-2 codes of the nationalities, citizenships, addresses and places of birth the list gives."},"birth_dates":{"type":"array","items":{"type":"string"},"description":"Dates of birth: YYYY-MM-DD, YYYY-MM or YYYY."},"listed_on":{"description":"Designation date when the list publishes it.","type":["string","null"]},"source_url":{"type":"string","description":"Page of the entry or of its legal act at the publisher, or the list page."}},"required":["id","list","reference","type","name","matched_name","score","name_score","strength","checks","aliases","programs","countries","birth_dates","listed_on","source_url"],"additionalProperties":false},"description":"Candidates scoring min_score or more, best first, up to 10."},"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","enum":["ofac_sdn","ofac_consolidated","eu","un","uk"],"description":"ofac_sdn: OFAC SDN list. ofac_consolidated: OFAC non-SDN lists. eu: EU financial sanctions. un: UN Security Council Consolidated List, not loaded (its terms allow personal, non-commercial use only), so no match carries it. uk: UK Sanctions List."},"entries":{"type":"integer","minimum":0,"maximum":9007199254740991},"published":{"description":"Date the publisher gives to the file, when it gives one.","type":["string","null"]},"loaded_at":{"type":"string","description":"When the file was loaded, ISO 8601."}},"required":["id","entries","published","loaded_at"],"additionalProperties":false},"description":"The lists the name was compared with, and when each was loaded."},"legal_determination":{"type":"boolean","const":false,"description":"Always false: this is a screening aid. Review every possible match against the official list before acting; no match is not a legal clearance."},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Credits debited for this call. Cached results cost the same; failed upstream calls cost 0."},"cached":{"type":"boolean","description":"True when the result was served from the 7-day result cache. Send `fresh: true` to bypass it."}},"required":["id","object","input","query","status","matches","lists","legal_determination","credits_used","cached"],"additionalProperties":false,"description":"Fuzzy screening of a name against public sanctions lists. Never cached."},"BatchResult":{"type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/PhoneResult"},{"$ref":"#/components/schemas/EmailResult"},{"$ref":"#/components/schemas/IpResult"},{"$ref":"#/components/schemas/IbanResult"},{"$ref":"#/components/schemas/VatResult"},{"$ref":"#/components/schemas/VinResult"},{"$ref":"#/components/schemas/LeiResult"},{"$ref":"#/components/schemas/PhoneReportsResult"},{"$ref":"#/components/schemas/DomainResult"},{"$ref":"#/components/schemas/WebsiteResult"},{"$ref":"#/components/schemas/SanctionsResult"},{"type":"object","properties":{"object":{"type":"string","const":"error"},"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request","invalid_api_key","insufficient_credits","forbidden","not_found","unprocessable_input","rate_limited","internal_error","upstream_unavailable"]},"message":{"type":"string"}},"required":["type","message"],"additionalProperties":false}},"required":["object","index","error"],"additionalProperties":false}]}},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["object","data","credits_used"],"additionalProperties":false},"BulkJob":{"type":"object","properties":{"id":{"type":"string","pattern":"^bulk_[0-9A-HJKMNP-TV-Z]{26}$"},"object":{"type":"string","const":"bulk_job"},"type":{"type":"string","enum":["phone","email","ip","iban","vat","vin","lei","phone_reports","domain","website","sanctions"],"description":"What the column holds: phone, email, ip, iban, vat, vin, lei (an LEI or a legal name per cell), phone_reports, domain, website (a domain or URL per cell) or sanctions (a name per cell)."},"status":{"type":"string","enum":["queued","processing","completed","failed","cancelled"]},"rows_total":{"type":"integer","minimum":0,"maximum":9007199254740991},"rows_done":{"type":"integer","minimum":0,"maximum":9007199254740991},"credits_reserved":{"type":"integer","minimum":0,"maximum":9007199254740991},"credits_used":{"type":"integer","minimum":0,"maximum":9007199254740991},"created_at":{"type":"string"},"completed_at":{"type":["string","null"]},"download_url":{"type":["string","null"]},"error":{"type":["string","null"]}},"required":["id","object","type","status","rows_total","rows_done","credits_reserved","credits_used","created_at","completed_at","download_url","error"],"additionalProperties":false},"Account":{"type":"object","properties":{"object":{"type":"string","const":"account"},"org":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"plan":{"type":"object","properties":{"id":{"type":"string","enum":["free","starter","growth","scale","business"]},"interval":{"anyOf":[{"type":"string","enum":["month","year"]},{"type":"null"}]},"monthly_credits":{"type":"integer","minimum":0,"maximum":9007199254740991},"renews_at":{"type":["string","null"]}},"required":["id","interval","monthly_credits","renews_at"],"additionalProperties":false},"credits":{"type":"object","properties":{"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"expiring":{"type":"array","items":{"type":"object","properties":{"credits":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"expires_at":{"type":"string"}},"required":["credits","expires_at"],"additionalProperties":false}}},"required":["balance","expiring"],"additionalProperties":false},"limits":{"type":"object","properties":{"per_key":{"type":"object","properties":{"requests":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"window_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["requests","window_seconds"],"additionalProperties":false},"per_org":{"type":"object","properties":{"requests":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"window_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["requests","window_seconds"],"additionalProperties":false}},"required":["per_key","per_org"],"additionalProperties":false},"key":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mode":{"type":"string","enum":["live","test"]},"prefix":{"type":"string"}},"required":["id","name","mode","prefix"],"additionalProperties":false}},"required":["object","org","plan","credits","limits","key"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request","invalid_api_key","insufficient_credits","forbidden","not_found","unprocessable_input","rate_limited","internal_error","upstream_unavailable"]},"message":{"type":"string"},"docs":{"type":"string"}},"required":["type","message","docs"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"WebhookEvent":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"bulk.completed"},"created_at":{"type":"string"},"data":{"$ref":"#/components/schemas/BulkJob"}},"required":["id","type","created_at","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"credits.low"},"created_at":{"type":"string"},"data":{"type":"object","properties":{"org_id":{"type":"string"},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"threshold":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["org_id","balance","threshold"],"additionalProperties":false}},"required":["id","type","created_at","data"],"additionalProperties":false}]}}}}