Skip to main content

Contacts

Named people and companies, with the on-chain addresses attached to them. Naming an address makes it appear as that name wherever it shows up in transactions.

Base URL: https://api-v2.kryptos.io · Required Permission: contacts:read

EndpointReturns
GET/v1/contactsList, paginated
GET/v1/contacts/{id}One contact
contacts:read is not in the default client scope set

Your client has to be registered with it — select it in the Developer Portal's scope picker, or ask support to add it. Requesting it at authorization time alone is not enough, and without it these endpoints return 403 insufficient_scope. See Scopes.

List

curl -X GET "https://api-v2.kryptos.io/v1/contacts?search=acme&page=1&limit=20" \
-H "Authorization: Bearer ACCESS_TOKEN"
ParameterTypeDefaultDescription
searchstringMatch on name
pageinteger1Page number
limitinteger20Max 100. Note the default differs from other list endpoints

The response spreads the result beside success{ success: true, data: [...], ...pagination } — rather than nesting it under data.

Contact fields

FieldTypeDescription
idstringContact id
namestringDisplay name; unique per workspace, case-insensitively
typestringindividual or company
socialsobjectemail, telegram
residentialAddressobjectcountry, state, city, postcode, address1, address2
mobileNumberstringPhone number
vatstringVAT or tax number
termsobjectpayment (e.g. net30), overduesInterest (number)

One contact

GET /v1/contacts/{id} returns { success, data } with a single contact, or 404 { "success": false, "error": "Contact not found" }.

Contacts and counterparties

An on-chain address can be named two ways, and they interact:

  1. Automatically, when Kryptos recognises it as a known exchange or protocol — a resolved counterparty.
  2. Manually, by attaching it to a contact. A manual name takes precedence.

Attaching an address renames it across existing transactions, so a contact's name is what you will see on the fromAccount and toAccount of any ledger leg that touches it. Detaching restores the automatically-detected name if one was known.