# Afternic — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Retrieve domain listing details from Afternic, including pricing, availability, and sale configuration for any given domain name. Look up whether a domain is listed for sale and access its current asking price and auction information programmatically.

**Category:** Marketplaces | **Website:** [afternic.com/](https://afternic.com/) | **Docs:** [parse.bot/marketplace/8146139b-6855-46b8-9d6f-dc72d38a96e8/afternic-com-api](https://parse.bot/marketplace/8146139b-6855-46b8-9d6f-dc72d38a96e8/afternic-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-afternic-com-api-8146139b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_domain_listing

Get detailed information about a specific domain listing on Afternic. Returns pricing, availability, and sale configuration for the given domain name. Domains not currently listed for sale will return with sellable=false and zero prices.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `domain` | string | Yes | The domain name to look up (e.g., 'gaming.org', 'ai.trading'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-afternic-com-api-8146139b/get_domain_listing \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain":"<string>"}'
```
