GET /v1/ein-validateValidate US EIN
Validation Utils lf-validation-utils
Checks whether a number is a valid US business tax ID and says which tax office it belongs to. Validates a US EIN (9-digit format XX-XXXXXXX) and identifies the IRS office associated with the prefix.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ein | string | Yes | EIN to validate (9 digits) |
Response Schema
success (boolean): Operation success
ein (string): Normalized EIN
valid (boolean): Whether valid
prefix (string): IRS prefix
irs_office (string): IRS office name
cURL Example
curl 'https://lf-validation-utils.laminarforge.dev/v1/ein-validate?ein=12-3456789' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-validation-utils.laminarforge.dev/v1/ein-validate'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'ein': '12-3456789'}
response = requests.get(url, headers=headers, params=params)
print(response.json())