> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
