Back to Home

API Documentation

Complete reference for the IsValid Data Validation REST API.

Overview

The IsValid API is a REST API that returns JSON responses. All endpoints are available at the base URL:

https://api.isvalid.dev

All requests must include a valid API key in the Authorization header. Responses include a valid boolean field indicating whether the provided value passed validation.

Authentication

Authenticate API requests using a Bearer token in the Authorization header. You can find your API key in your account dashboard.

Authorization: Bearer YOUR_API_KEY

Keep your API key secret. Never expose it in client-side code or public repositories. Rotate your key immediately if you believe it has been compromised.

Example request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/email?value=user@example.com"

Rate Limiting

API usage is limited based on your subscription plan. Rate limits reset at midnight UTC each day.

PlanAPI KeysCalls / dayPrice
Free1100$0/month

When you exceed your limit, the API returns HTTP 429. The response includes a Retry-After header indicating when your quota resets.

Error Responses

The API uses standard HTTP status codes. Error responses always include a JSON body with a message field describing the error.

Status CodeMeaningDescription
200 OKSuccessThe request succeeded. Check the valid field in the response body.
400 Bad RequestInvalid inputMissing or malformed required parameters.
401 UnauthorizedAuthentication failedAPI key is missing, invalid, or expired.
404 Not FoundUnknown endpointThe requested endpoint does not exist.
422 Unprocessable EntityValidation schema errorThe request body or parameters did not match the expected schema.
429 Too Many RequestsRate limit exceededYou have exceeded your plan's daily request quota.
500 Internal Server ErrorServer errorAn unexpected error occurred on our end. Retry after a moment.

Error Response Body

{
  "error": "Missing required query parameter: value"
}

Official SDKs

Use our official SDKs for a simpler integration experience — they handle authentication, retries, and error handling out of the box.

See the Getting Started guide for Node.js / TypeScript or Python for a step-by-step integration walkthrough.

WordPress Plugin

The IsValid – Data Validation plugin connects any WordPress site to the isvalid.dev API without exposing your API key to the browser. It supports 80+ validator types and integrates with Contact Form 7, WooCommerce, Gravity Forms and WPForms.

Generic usage

<input data-isvalid="iban" />

Shortcode

[isvalid_input type="iban" name="iban"]
WordPress Plugin documentation →

Endpoints

ABA Routing Number
GET/v0/aba
Barcode
GET/v0/barcode
Base64
GET/v0/base64
ABN (Australia)
GET/v0/au/abn
BIC / SWIFT
GET/v0/bic
CNPJ (Brazil)
GET/v0/br/cnpj
CPF (Brazil)
GET/v0/br/cpf
Boolean
GET/v0/boolean
BTC Address
GET/v0/btc-address
CAS Number
GET/v0/cas
CEIDG (Poland)
GET/v0/pl/ceidg
ETH Address
GET/v0/eth-address
SWIFT MT Message
GET/v0/swift-mt
Cron Expression
GET/v0/cron
CFI
GET/v0/cfi
Color
GET/v0/color
Country
GET/v0/country
Country List
GET/v0/country/list
CUSIP
GET/v0/cusip
Credit Card
POST/v0/credit-card
Currency Code
GET/v0/currency
Currency List
GET/v0/currency/list
Date
GET/v0/date
DOI
GET/v0/doi
Domain
GET/v0/domain
DUNS Number
GET/v0/duns
Digital Token (DTI)
GET/v0/dti
EAN / GTIN / UPC
GET/v0/ean
UN/LOCODE
GET/v0/locode
UN/LOCODE List
GET/v0/locode/list
Email
GET/v0/email
EORI
GET/v0/eori
GLN
GET/v0/gln
GS1 Prefix
GET/v0/gs1-prefix
GS1 Prefix List
GET/v0/gs1-prefix/list
GPS Coordinates
GET/v0/gps
GSTIN (India)
GET/v0/in/gstin
HS Code
GET/v0/hs-code
HS Code List
GET/v0/hs-code/list
HTTP Status
GET/v0/http-status
HTTP Status List
GET/v0/http-status/list
IBAN
GET/v0/iban
IATA Airline Code
GET/v0/iata/airline
IATA Airline List
GET/v0/iata/airline/list
IATA Airport Code
GET/v0/iata/airport
IATA Flight Number
GET/v0/iata/flight
IMEI
GET/v0/imei
Industry (NAICS/NACE)
GET/v0/industry
Industry List
GET/v0/industry/list
IP Address
GET/v0/net/ip
ISBN
GET/v0/isbn
Container Code
GET/v0/container-code
ISIN
GET/v0/isin
ISSN
GET/v0/issn
JWT
GET/v0/jwt
KRS (Poland)
GET/v0/pl/krs
Language Code
GET/v0/language
Language List
GET/v0/language/list
Regex
POST/v0/regex
LEI
GET/v0/lei
LEI Search
GET/v0/lei/search
LEI LOUs
GET/v0/lei/lous
MAC Address
GET/v0/net/mac
MIC
GET/v0/mic
MIME Type
GET/v0/mime-type
MIME Type by Extension
GET/v0/mime-type/ext
MIME Type List
GET/v0/mime-type/list
NIF / NIE (Spain)
GET/v0/es/nif
NPI (USA)
GET/v0/us/npi
NUTS (EU Regions)
GET/v0/nuts
ORCID
GET/v0/orcid
Network Port
GET/v0/net/port
Network Port List
GET/v0/net/port/list
PESEL (Poland)
GET/v0/pl/pesel
PKD (Poland)
GET/v0/pl/pkd
Phone Number
GET/v0/phone
Postal Code
GET/v0/postal-code
QR / Data Matrix
GET/v0/qr
REGON (Poland)
GET/v0/pl/regon
Semver
GET/v0/semver
Sort Code (UK)
GET/v0/gb/sort-code
SSCC
GET/v0/sscc
Timestamp (ISO 8601)
GET/v0/timestamp
Timezone
GET/v0/timezone
Timezone List
GET/v0/timezone/list
URL
GET/v0/url
UUID
GET/v0/uuid
VAT Number
GET/v0/vat
VIN
GET/v0/vin