---
title: "Lookup Reports By Domain"
method: GET
path: "/v1/reports/by-domain"
tags: ["reports"]
---

# Lookup Reports By Domain

`GET /v1/reports/by-domain`

## Request

- Base URL: `https://api.karma.domains`
- URL: `https://api.karma.domains/v1/reports/by-domain`
- Auth: HTTP bearer

Find report identifiers by exact domain name in all bases collections.

Returns every match (at most one per collection). Empty ``matches`` if the
domain is not found. Use percent-encoding for non-ASCII domains in the query.

Typical flow: lookup here, then ``GET /report?report_type=&report_id=`` for the full report.
Agent accounts: 1 credit per call from spendable balance.

## Query parameters

- `domain` string, required: Exact domain name (percent-encode non-ASCII)

## Response `200`

Successful Response

- DomainReportsLookupResponse: All bases reports matching a normalized domain (up to one per collection). Uses BaseModel (not APISchema) so empty ``matches`` stays ``[]`` — APISchema.check_empty would turn ``[]`` into ``None`` and fail list validation.
  - `domain` string, required
  - `matches` DomainReportMatch[]
    - `report_id` string, required
    - `report_type` string, required
    - `domain` string, required
    - `added_at` integer, nullable

## Other responses

- `402`: Payment required — x402 agent credits. Read PAYMENT-REQUIRED header (base64 JSON) and retry same URL with PAYMENT-SIGNATURE and optional X-Karma-Plan-Id.
- `422`: Validation Error

## Changes

- **2026-11-05** `46cc2e2767b0`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/karma/apis/karma-domains-public-api/changes/v1/reports/by-domain/get.md)

---

[API](https://skmtc.dev/karma/apis/karma-domains-public-api.md) - [All operations](https://skmtc.dev/karma/apis/karma-domains-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/karma/apis/karma-domains-public-api/revisions/a86fc0bfa15d?raw)
