> For the complete documentation index, see [llms.txt](https://docs.payshield.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payshield.ai/merchant-monitoring-api/retrieving-domain-data.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
