Polygon Address Validator
Crypto Finance Credits / request: 1Validates a Polygon wallet address and checks the EIP-55 checksum.
GET
https://api.apikodu.com/api/v1/polygonaddressvalidator
Documentation
Overview
Validates a Polygon wallet address. Invalid addresses return HTTP 200 with isValid=false.
Authentication
Every request requires the x-api-key header. Credits used and remaining quota are returned in response headers (x-api-credits-used, x-api-remaining-credits, x-rate-limit-*).
Request
GET
https://api.apikodu.com/api/v1/polygonaddressvalidator?address=0x742d35Cc6634C0532925a3b844Bc454e4438f44e
Query string.
Parameters
| Name | Type | Required | Default | Options | Description |
|---|---|---|---|---|---|
address |
string | * Required | — | — | Wallet address. |
Response
| Name | Type | Description |
|---|---|---|
isValid |
boolean | true when the address matches format and checksum rules. |
address |
string | Validated address (submitted value). |
network |
string | Network id. polygon for this API. |
addressType |
string | Address type. Possible values: evm. |
isChecksumValid |
boolean | Whether the EIP-55 checksum is valid. All-lower/all-upper may be true; mixed case is checksum-checked. |
Errors
| HTTP | code | Description |
|---|---|---|
400 |
-228 |
`address` is empty or whitespace. Invalid addresses return HTTP 200 with data.isValid=false. |
401 |
-100 |
x-api-key is missing, empty, malformed, inactive, banned, expired, IP-restricted, or not allowed for this API. |
429 |
-221 |
Per-minute request limit exceeded. Response headers: x-rate-limit-limit, x-rate-limit-remaining, x-rate-limit-reset. |
429 |
— | Package credit quota cannot cover this request. Body may be { error, limit, currentUsage, requestCost } (no code field). |
500 |
-1 |
Unexpected server error. message is a generic error text without technical details. |
Notes
- Success body is { data: { ... } }. Error body is { code, message }. code is an ApiResponseCode enum value (negative integer).
Sample response
{
"data": {
"isValid": true,
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"network": "polygon",
"addressType": "evm",
"isChecksumValid": true
}
}
Code samples
const response = await fetch('https://api.apikodu.com/api/v1/polygonaddressvalidator', {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
import requests
headers = {
'x-api-key': 'YOUR_API_KEY'
}
response = requests.get('https://api.apikodu.com/api/v1/polygonaddressvalidator', headers=headers)
print(response.json())
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var response = await client.GetStringAsync("https://api.apikodu.com/api/v1/polygonaddressvalidator");
Console.WriteLine(response);
$response = file_get_contents('https://api.apikodu.com/api/v1/polygonaddressvalidator', false, stream_context_create([
'http' => [
'header' => "x-api-key: YOUR_API_KEY"
]
]));
print_r(json_decode($response, true));
curl -X GET 'https://api.apikodu.com/api/v1/polygonaddressvalidator' \
-H 'x-api-key: YOUR_API_KEY'
Start building in minutes
Create a free account, get your API key and send your first request in minutes.