Skip to content
GET /api/v1/validate-url

URL Validator

Validate a URL's format, reachability, SSL status, and response details

Parameters

name in type required description
url query string required Url

Request

Send your key in the X-API-Key header. More languages and patterns live on the code examples page.

curl -s "https://apixies.io/api/v1/validate-url?url=https%3A%2F%2Fcloudflare.com" \
  -H "X-API-Key: YOUR_API_KEY"

Response

The result sits under data in the standard envelope. See the response format guide for errors and status codes.

returns

data.reachable
True when a HEAD request got a 2xx or 3xx back.
data.format_valid
True when the URL has valid syntax.
data.status_code
HTTP status from the HEAD request.
data.ssl
True when the scheme is HTTPS.
data.response_time_ms
Time the HEAD request took, in milliseconds.
data.host
Hostname pulled from the URL, with scheme alongside.
example response 200
{
    "status": "success",
    "http_code": 200,
    "code": "SUCCESS",
    "message": "URL validation completed",
    "data": {
        "url": "https://cloudflare.com",
        "format_valid": true,
        "validated_at": "2026-09-18T12:00:00+00:00",
        "host": "cloudflare.com",
        "scheme": "https",
        "ssl": true,
        "reachable": true,
        "status_code": 200,
        "response_time_ms": 179,
        "content_type": "text/html; charset=utf-8"
    }
}

Authentication and limits

This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.

Standard rate limits apply to this endpoint.

Common use cases

Form input validation

Validate URLs submitted through forms in real-time. Check format correctness and reachability before accepting user input.

Data quality enforcement

Clean up databases containing URLs by batch-validating entries. Remove or flag invalid, unreachable, or malformed URLs.

Webhook endpoint verification

Before saving webhook URLs, verify they are reachable and respond correctly. Prevent configuration errors that lead to missed events.

More documentation

Get a free API key

A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy