# Domain Availability

Check a domain against the authoritative RDAP server listed in the IANA bootstrap registry. RDAP can identify registered domains and can indicate that a domain is probably available when the registry returns not found. Registrar checkout availability, premium pricing, aftermarket inventory, reserved names, and registration restrictions require registrar or registry availability data.

- **Documentation:** [https://scrappa.co/docs/domain-availability-api/domain_availability](https://scrappa.co/docs/domain-availability-api/domain_availability)
- **API group:** Domain Availability API
- **Endpoint:** `GET https://scrappa.co/api/domains/availability`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | Yes | The fully qualified domain name to check. Example: `example.com` |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/domains/availability?domain=example.com"
```

## Example response

```json
{
    "domain": "example.com",
    "available": false,
    "registered": true,
    "status": "registered",
    "confidence": "high",
    "source": "rdap",
    "rdap_url": "https://rdap.verisign.com/com/v1/domain/example.com",
    "rdap_status_code": 200,
    "rdap_events": [],
    "nameservers": []
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
