---
title: "SUNAT Taxpayer Search by Name"
method: POST
path: "/pe/sunat/name/v1"
tags: ["Peru", "SUNAT"]
---

# SUNAT Taxpayer Search by Name

`POST /pe/sunat/name/v1`

## Request

- Base URL: `https://api.croma.run`
- URL: `https://api.croma.run/pe/sunat/name/v1`
- Auth: HTTP bearer

Search Peruvian taxpayers by name or razón social. Returns up to 30 matches (SUNAT's cap).

Supports async delivery: set `Prefer: wait=N` for an inline result, pass `callback_url` to receive a POST when ready, or poll `GET /jobs/{id}`.

## Headers

- `Idempotency-Key` string
- `Prefer` string

## Request body

- object
  - `name` string, required: Taxpayer name or razón social to search for.
  - `callback_url` string, uri: POST the job result here when it finishes.

## Response `200`

Successful response

- SunatNameResponse
  - `data` SunatNameData, required
    - `query` string, required
    - `count` number, required
    - `capped` boolean, required
    - `contributors` object[], required
      - `ruc` string, nullable, required
      - `name` string, nullable, required
      - `location` string, nullable, required
      - `status` string, nullable, required

## Other responses

- `202`: Accepted — the result is being computed asynchronously. Poll `job.status_url` (GET /jobs/{id}) or supply `callback_url` to have the result POSTed to you. Returned when `Prefer: wait` elapses before completion, or immediately when `callback_url` is set.
- `400`: Invalid request body
- `401`: Missing or invalid API key
- `429`: Rate limit exceeded
- `500`: Internal error
- `502`: Upstream source returned an error

---

[API](https://skmtc.dev/usecroma/apis/croma-marketplace-api.md) · [All operations](https://skmtc.dev/usecroma/apis/croma-marketplace-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usecroma/apis/croma-marketplace-api/revisions/74c745980c60?raw)
