Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/ledgo-io:ledgo-io-companies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
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.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Ledgo Companies API
version: '1'
description: 'Create and read contacts, companies, leads, deals, tasks, quotes, invoices and conversations in a Ledgo workspace. Authenticate with an API key from Settings → Integrations (Authorization: Bearer agk_…). The key acts with the permissions of the person who created it; every change shows in History as that key. Up to 120 requests a minute per workspace. Responses are { "data": … } or { "error": { "code", "message", "fields" } }.'
servers:
- url: https://ledgo.io/api/v1
tags:
- name: Companies
description: Organisations contacts belong to.
paths:
/companies:
get:
operationId: getCompanies
summary: List companies
tags:
- Companies
parameters:
- name: q
in: query
required: false
description: Search name, domain or city
schema:
type: string
- name: owner
in: query
required: false
description: all (default) or mine
schema:
type: string
- name: page
in: query
required: false
description: Page number, 25 per page
schema:
type: string
example: '1'
responses:
'200':
description: rows, total, page and pageSize.
content:
application/json:
schema:
type: object
properties:
data: {}
required:
- data
'401':
description: No key, a wrong key or a revoked key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key's owner may not do this (their role or record scope).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such record, or the key's owner cannot see it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The change clashes with the record's state, for example a possible duplicate contact or a closed record.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: A field is missing or wrong; fields names each problem. Stage rules also answer here with details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute from one workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
post:
operationId: postCompanies
summary: Create a company
tags:
- Companies
parameters: []
responses:
'200':
description: '{ id }'
content:
application/json:
schema:
type: object
properties:
data: {}
required:
- data
'401':
description: No key, a wrong key or a revoked key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key's owner may not do this (their role or record scope).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such record, or the key's owner cannot see it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The change clashes with the record's state, for example a possible duplicate contact or a closed record.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: A field is missing or wrong; fields names each problem. Stage rules also answer here with details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute from one workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
name:
type: string
maxLength: 160
domain:
type: string
maxLength: 120
industry:
type: string
maxLength: 80
sizeBand:
type: string
enum:
- 1-10
- 11-50
- 51-200
- 201-1000
- 1000+
phone:
type: string
maxLength: 40
email:
type: string
maxLength: 200
website:
type: string
maxLength: 200
city:
type: string
maxLength: 80
country:
description: Two-letter country code
type: string
maxLength: 2
ownerId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
tags:
maxItems: 20
type: array
items:
type: string
maxLength: 40
required:
- name
example:
name: Najd Heritage Restaurant
city: Dubai
country: AE
industry: Hospitality
/companies/{id}:
get:
operationId: getCompaniesById
summary: One company
tags:
- Companies
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: The company and the contacts who belong to it.
content:
application/json:
schema:
type: object
properties:
data: {}
required:
- data
'401':
description: No key, a wrong key or a revoked key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key's owner may not do this (their role or record scope).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such record, or the key's owner cannot see it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The change clashes with the record's state, for example a possible duplicate contact or a closed record.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: A field is missing or wrong; fields names each problem. Stage rules also answer here with details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute from one workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
patch:
operationId: patchCompaniesById
summary: Update a company
tags:
- Companies
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: The updated company.
content:
application/json:
schema:
type: object
properties:
data: {}
required:
- data
'401':
description: No key, a wrong key or a revoked key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key's owner may not do this (their role or record scope).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such record, or the key's owner cannot see it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The change clashes with the record's state, for example a possible duplicate contact or a closed record.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: A field is missing or wrong; fields names each problem. Stage rules also answer here with details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute from one workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
name:
type: string
maxLength: 160
domain:
type: string
maxLength: 120
industry:
type: string
maxLength: 80
sizeBand:
type: string
enum:
- 1-10
- 11-50
- 51-200
- 201-1000
- 1000+
phone:
type: string
maxLength: 40
email:
type: string
maxLength: 200
website:
type: string
maxLength: 200
city:
type: string
maxLength: 80
country:
description: Two-letter country code
type: string
maxLength: 2
ownerId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
tags:
maxItems: 20
type: array
items:
type: string
maxLength: 40
example:
website: https://najd.example
sizeBand: 11-50
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
enum:
- unauthorized
- forbidden
- not_found
- conflict
- invalid
- rate_limited
- server_error
message:
type: string
fields:
type: object
additionalProperties:
type: string
details:
type: object
required:
- code
- message
required:
- error
securitySchemes:
apiKey:
type: http
scheme: bearer
description: An API key (agk_…) created in Settings → Integrations → REST API.