# Retrieving Domain Data

#### Get Single Domain

```bash
curl -X GET {baseurl}/api/v1/domains/{id} \
  -H "Authorization: Bearer <token>"
```

#### Get Domain with Full Details

Includes raw provider response data:

```bash
curl -X GET {baseurl}/api/v1/domains/{id}/details \
  -H "Authorization: Bearer <token>"
```

#### List All Domains

```bash
curl -X GET "{baseurl}/api/v1/domains?page=1&limit=20" \
  -H "Authorization: Bearer <token>"
```

**Query Parameters**

| Parameter        | Type    | Default      | Description                                  |
| ---------------- | ------- | ------------ | -------------------------------------------- |
| `page`           | integer | 1            | Page number                                  |
| `limit`          | integer | 20           | Items per page (max 100)                     |
| `status`         | string  | -            | Filter: `active` or `inactive`               |
| `recommendation` | string  | -            | Filter: `pass`, `fail`, or `review`          |
| `search`         | string  | -            | Search in domain and name (max 255 chars)    |
| `industry`       | string  | -            | Filter by industry (max 255 chars)           |
| `businessType`   | string  | -            | Filter by business type (max 255 chars)      |
| `foundedYear`    | integer | -            | Filter by founded year (1800 - current year) |
| `sortBy`         | string  | `created_at` | Sort field                                   |
| `sortOrder`      | string  | `desc`       | `asc` or `desc`                              |

**Available sort fields:** `created_at`, `updated_at`, `domain`, `name`, `recommendation`, `last_checked_at`, `industry`, `business_type`, `founded_year`

### Recommendations

The API returns one of three recommendation values:

<table><thead><tr><th width="132">Value</th><th>Description</th></tr></thead><tbody><tr><td><code>pass</code></td><td>Domain/business is verified and trustworthy</td></tr><tr><td><code>review</code></td><td>Requires manual review</td></tr><tr><td><code>fail</code></td><td>Domain/business failed verification</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payshield.ai/merchant-monitoring-api/retrieving-domain-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
