Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Statsnet Contacts API
version: 1.0.0
description: 'Public REST API of statsnet.co: company registry, KYB and counterparty data. Authenticate with an API key (`x-api-key: sk_live_...` or `Authorization: Bearer sk_live_...`) created at https://statsnet.co/me. Paid endpoints charge one report per company (repeat views within 2 weeks are free) or are metered per call on API plans. Human-readable docs: https://statsnet.co/docs'
contact:
name: Statsnet
url: https://statsnet.co/contact
servers:
- url: https://statsnet.co/api/v1
security:
- ApiKeyHeader: []
- BearerAuth: []
tags:
- name: Contacts
paths:
/companies/{company_id}/contacts:
get:
operationId: getCompanyContacts
summary: Company contacts
description: Phones, emails and websites of the company, masked. Reveal full values with POST /companies/{company_id}/contacts/reveal. Officer/shareholder contacts require the Pro plan or above.
tags:
- Contacts
parameters:
- name: company_id
in: path
required: true
description: The unique identifier of the company.
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/QuotaExhausted'
/companies/{company_id}/contacts/reveal:
post:
operationId: revealCompanyContacts
summary: Reveal company contacts
description: Returns the unmasked values of the company's contacts the caller's plan allows.
tags:
- Contacts
parameters:
- name: company_id
in: path
required: true
description: The unique identifier of the company.
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/QuotaExhausted'
components:
responses:
NotFound:
description: Company or record not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, invalid or revoked API key / session.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: The plan does not include this data (or anonymous call to a paid endpoint).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
QuotaExhausted:
description: Period quota (reports, API calls or searches) is exhausted. See Retry-After / X-API-Calls-* headers.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
PaymentRequired:
description: Subscription is canceled, expired or past due.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
properties:
status:
type: integer
message:
type: string
required:
- status
- message
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: x-api-key
description: API key `sk_live_...`
BearerAuth:
type: http
scheme: bearer
description: '`Authorization: Bearer sk_live_...`'