---
title: "Get top Arkham counterparties for an entity"
method: POST
path: "/counterparties/entity"
tags: ["Counterparties"]
---

# Get top Arkham counterparties for an entity

`POST /counterparties/entity`

Get top Arkham counterparties for an entity. $10.00 per call.

## Request body

- object
  - `entity` union, required — The entity ID to query counterparties for.
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `chains` union — Chains to filter by, as a single comma-separated value (e.g. 'base,bsc'). If omitted, returns counterparties across all…
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `flow` union — Transfer direction. Only "in" or "out" are accepted (omit for both directions).
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `limit` union — Maximum number of results to return. Default: 20. Max: 1000.
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `tags` union — List of counterparty tags to filter by.
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `timeGte` union — Filter to activity after this time. Accepts RFC 3339, Unix seconds/ms, or YYYY-MM-DD.
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `timeLast` union — Filter to activity within this duration before now (e.g. 24h, 7d). Cannot be combined with timeGte/timeLte.
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `timeLte` union — Filter to activity before this time. Accepts RFC 3339, Unix seconds/ms, or YYYY-MM-DD.
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `tokens` union — Comma-separated list of token addresses or token IDs; matches counterparties involving any of them.
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `usdGte` union — Filter to counterparties whose aggregated USD volume is at least this value.
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean

## Response `200`

Successful response

- unknown

## Other responses

- `400` — Fatal for the request as written: validation failed or required JSON body fields are missing. Fix the request; do not retry it unchanged. Payment is not settled.
- `402` — Payment challenge, not an application error. Read the base64 x402 v2 challenge from PAYMENT-REQUIRED, sign it, and retry the same request with PAYMENT-SIGNATURE. If a post-payment 402 omits PAYMENT-REQUIRED, verification failed: read the new challenge, re-sign, and retry once.
- `404` — The upstream Arkham resource does not exist. Fatal for the same input. Payment is not settled.
- `429` — Per-wallet endpoint rate limit exceeded. Retry with at least 1 second of backoff; keep heavy endpoints at no more than 1 request per second.
- `5XX` — Arkham failed or timed out, including 502 and 504 responses. Retry with backoff. x402 payments and MPP transaction credentials are not settled for failed requests; MPP hash credits are redeemed at admission and are not refunded automatically.

---

[API](https://skmtc.net/arkm/apis/arkham-x402.md) · [All operations](https://skmtc.net/arkm/apis/arkham-x402/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arkm/arkham-x402/versions/7830c19a58c4/schema)
