Skip to Content
KnowYourChain Docs
Requests

Send a request

POST
/requests

Sends one attribution request. It joins the work queue in the same way as a row added to the shared Google Sheet.

Sending the same requestId again is safe. If the values are the same, the response is 200 with the request. If they are different, the response is 409 and the request is not changed.

Sending requests must be turned on for your API key. If it is not, the response is 403.

Authorization

ApiKey
headerAuthorization<token>

Send Api-Key <key>, for example Authorization: Api-Key abc123.xyz.

Request Body

application/json
  1. body

An unknown field is refused, so a misspelled field name is not silently ignored.

requestId*string

Your own id for the request. May not contain /, ? or #.

Lengthlength <= 255
entityName*string

The service to attribute.

Lengthlength <= 255
network*string
Lengthlength <= 64
entityUrl?string

The service's website.

Lengthlength <= 2048
entityCategory?string
Lengthlength <= 100
transactionType?string

Which side to attribute. Blank means Both. Not case sensitive.

Default"Both"
Value in"Both""Deposit""Withdrawal"
priority?string
Lengthlength <= 2000
requestedDate?string

Defaults to the day the request is received.

Formatdate
requestingAnalyst?string
Formatemail
Lengthlength <= 254

Response Body

A request with this requestId already exists with the same values.

application/json
  1. response
requestId*string
entityName*string
network*string
status*string

Open: queued, working, blocked. Closed: completed, partial, not_traceable, no_crypto.

Value in"queued""working""blocked""completed""partial""not_traceable""no_crypto"
defunctService*|

null until it is known.

kycRequired*string
Value in"required""not_required""unknown"
lineItems*array<>
receivedAt*string
Formatdate-time
updatedAt*string

When anything on this request last changed.

Formatdate-time
entityUrl?string
transactionType?string
entityCategory?string
priority?string
requestedDate?string
Formatdate
requestingAnalyst?string
notes?string

Why the request is blocked, or why it closed.

closedAt?string

When the request was blocked or closed.

Formatdate-time
Example Request
curl -X POST 'https://api.knowyourchain.com/vendor/v1/requests' \  -H 'Content-Type: application/json' \  -d '{  "requestId": "CA-2026-0412",  "entityName": "Example Exchange",  "entityUrl": "https://example-exchange.com",  "entityCategory": "Exchange",  "network": "TRON",  "transactionType": "Both",  "priority": "High",  "requestedDate": "2026-11-27",  "requestingAnalyst": "analyst@example.com"}'
Example Response
{  "requestId": "string",  "entityName": "string",  "network": "string",  "status": "queued",  "defunctService": true,  "kycRequired": "required",  "lineItems": [    {      "subjectType": "DEPOSIT_ADDRESS",      "state": "open",      "attributionId": "17be255f-9a23-4a16-b2ee-a871da1ab031",      "reason": "string",      "note": "string"    }  ],  "receivedAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "entityUrl": "string",  "transactionType": "string",  "entityCategory": "string",  "priority": "string",  "requestedDate": "2019-08-24",  "requestingAnalyst": "string",  "notes": "string",  "closedAt": "2019-08-24T14:15:22Z"}