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.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/didlogic-com:didlogic-com-purchases-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. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Didlogic Com Purchases API
version: 1.0.0
description: 'Operations tagged Purchases across 2 of this provider''s published API definitions: didlogic-com-public-api-openapi.yaml, didlogic-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.didlogic.com
description: Production
tags:
- name: Purchases
x-version: v1
paths:
/api/v1/purchases:
get:
summary: List purchased DID numbers
description: 'Retrieve a paginated list of DID numbers purchased by the authenticated user.
**Features:**
- Ordered by most recent first
- Pagination: 100 DIDs per page (max 1000)
- Available in JSON and CSV formats
**Returned Information:**
- DID number and status
- Purchase and expiration dates
- Monthly cost and features
- SMS/voice capabilities
`purchases[].number` feeds purchases_destinations_index, purchases_destinations_create,
purchases_destinations_update, purchases_destinations_destroy, numbers_purchase_destroy and
sms_create: it is the `purchase_id` of the destination operations, an entry of `did_numbers[]`
when releasing numbers, and `sm[source]` when the number has SMS enabled. See also: numbers_index,
the same numbers with their inventory id.'
tags:
- Purchases
operationId: purchases_index
security:
- BearerAuth: []
parameters:
- name: page
in: query
required: false
schema:
type: integer
minimum: 1
default: 1
example: 1
description: Page number for pagination (starts from 1)
- name: per_page
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 20
example: 10
description: Number of items per page
responses:
'200':
description: Successfully returns paginated list of purchased DID numbers in JSON format
content:
application/json:
schema:
type: object
properties:
purchases:
type: array
items:
type: object
properties:
number:
type: string
example: '1234567890'
description: DID phone number
channels:
type: integer
example: 1
description: Number of channels
country:
type: string
example: Fake country for 1234567890
description: DID country
area:
type: string
example: Fake city for 1234567890
description: DID area
codec:
description: Audio codec
check_state:
type: string
example: active
description: DID status
free_minutes:
type: integer
example: 0
description: Free minutes included
activation:
type: number
format: float
example: 1.17
description: Activation fee
monthly_fee:
type: number
format: float
example: 1.17
description: Monthly cost for the DID
per_minute:
type: number
format: float
example: 0.117
description: Per minute rate
required:
- number
- channels
- country
- area
- codec
- check_state
- free_minutes
- activation
- monthly_fee
- per_minute
description: List of purchased DID numbers
pagination:
type: object
properties:
pages:
type: integer
page:
type: integer
total_records:
type: integer
per_page:
type: integer
required:
- pages
- page
- total_records
- per_page
required:
- purchases
- pagination
examples:
returns_list_of_purchased_dids_in_csv_format_for_spreadsheet_import:
summary: Returns list of purchased DIDs in CSV format for spreadsheet import
value: 'Number,Channels,Country,Area,Check state,Codec,Free minutes,Activation,Monthly fee,Per minute,Paid until,Minutes,Destination
1234567890,1,Fake country for 1234567890,Fake city for 1234567890,active,,0,1.1700,1.1700,0.1170,,00:00,""
'
successfully_returns_paginated_list_of_purchased_did_numbers_in_json_format:
summary: Successfully returns paginated list of purchased DID numbers in JSON format
value:
purchases:
- number: '1234567890'
channels: 1
country: Fake country for 1234567890
area: Fake city for 1234567890
codec: null
check_state: active
free_minutes: 0
activation: 1.17
monthly_fee: 1.17
per_minute: 0.117
pagination:
pages: 1
page: 1
total_records: 1
per_page: 10
text/csv:
schema:
type: string
example: 'Number,Channels,Country,Area,Check state,Codec,Free minutes,Activation,Monthly fee,Per minute,Paid until,Minutes,Destination
1234567890,1,Fake country for 1234567890,Fake city for 1234567890,active,,0,1.1700,1.1700,0.1170,,00:00,""
'
'403':
description: Returns 403 error when API token is incorrect
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
example:
error: Unauthorized
servers:
- url: https://app.didlogic.com
description: Production
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: Authenticate API requests via API key like "Bearer YOUR_TOKEN"
x-refined-from:
- didlogic-com-public-api-openapi.yaml
- didlogic-com-openapi.yml