---
title: "Get counterparty field options"
method: GET
path: "/v1/counterparties/metadata"
tags: ["Counterparties"]
---

# Get counterparty field options

`GET /v1/counterparties/metadata`

Returns the enum option sets and country list needed to build a counterparty form.

## Headers

- `x-project-id` string — Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

## Response `200`

Counterparty field options

- object — Standard success response envelope.
  - `data` object, required — Field option sets for building a counterparty form: closed enums plus the country list.
    - `fields` object, required
      - `entityTypes` string[], required
      - `countries` object[], required
        - `code` string, required — ISO 3166-1 alpha-2 code.
        - `name` string, required — English display name.
      - `usStates` object[], required
        - `code` string, required — ISO 3166-1 alpha-2 code.
        - `name` string, required — English display name.
  - `meta` object, required — Response metadata.
    - `requestId` string, required — Request identifier for tracing.
    - `timestamp` string, date-time, required — ISO 8601 timestamp.

## Other responses

- `401` — Error
- `403` — Error
- `500` — Error

---

[API](https://skmtc.net/solana/apis/solana-developer-platform-api.md) · [All operations](https://skmtc.net/solana/apis/solana-developer-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solana/solana-developer-platform-api/revisions/672b1916ba61/schema)
