SendLetter Pricing API
What a letter costs and what a country can be sent.
What a letter costs and what a country can be sent.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/sendletter-eu:sendletter-eu-pricing-api"
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.
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: 3.2.0
info:
title: SendLetter Pricing API
version: 1.3.0
description: 'Post a real letter from one HTTP call. Text, a document or a finished PDF goes in with an address, a printed and franked letter comes out, and the status arrives on a webhook.
All money is integer cents in euro. Amounts named `priceCents` exclude VAT; `totalCents` includes it and is the amount charged.
**Test mode.** A key beginning `sk_test_` renders, prices and tracks a letter exactly as a live key would, walks it through submitted, printed, posted and delivered, and fires every callback along the way. Nothing is printed, nothing is posted, and the wallet is not touched. Build and demonstrate an integration entirely on a test key.
**Retries.** Send an `idempotencyKey` on anything that creates a letter. A repeated call with the same key returns the original letter instead of posting a second one.
**Tracing.** Every API response carries `X-Request-Id`; API error bodies repeat it as `requestId`. You may supply a safe `X-Request-Id` yourself. Quote that value to support for one request, and the letter `id` to follow an order across later payment and provider webhooks.
**Cost controls.** New keys start with `letters:read letters:quote letters:draft letters:send` and configurable per-letter, UTC-day and UTC-month ceilings. A refused ceiling moves no wallet money and posts nothing. Add `account:read` or `webhooks:write` only when needed.'
contact:
name: Twilper
url: https://sendletter.eu
license:
name: CC0-1.0
identifier: CC0-1.0
termsOfService: https://sendletter.eu/nl/terms
servers:
- url: https://sendletter.eu
security:
- bearerAuth: []
tags:
- name: Pricing
description: What a letter costs and what a country can be sent.
paths:
/api/quote:
post:
operationId: quoteLetter
tags:
- Pricing
summary: Price a letter, and find out what is on offer
security: []
description: 'Open, no key needed, and rate limited by address to 60 calls a minute. `availableProducts` is the part worth reading: it is what that country can actually be sent, so a form can disable an option instead of letting somebody pick it and fail at send time.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- destination
properties:
destination:
type: string
minLength: 2
maxLength: 2
product:
type: string
enum:
- standard
- priority
- registered
pages:
type: integer
minimum: 1
maximum: 200
colour:
type: boolean
duplex:
type: boolean
segment:
type: string
enum:
- consumer
- business
- api
responses:
'200':
description: Price and availability
content:
application/json:
schema:
type: object
properties:
priceCents:
type: integer
vatCents:
type: integer
totalCents:
type: integer
currency:
type: string
pages:
type: integer
sheets:
type: integer
availableProducts:
type: array
items:
type: string
breakdown:
type: object
properties:
printingCents:
type: integer
postageCents:
type: integer
serviceCents:
type: integer
'429':
description: Rate limited. Read Retry-After.
headers:
X-Request-Id:
description: Identifier for tracing this request in support and operational logs.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/countries:
get:
operationId: listCountries
tags:
- Pricing
summary: Destinations, with their address rules
security: []
responses:
'200':
description: Every country we carry to, with the products routable to each
content:
application/json:
schema:
type: object
required:
- countries
properties:
countries:
type: array
items:
type: object
properties:
code:
type: string
minLength: 2
maxLength: 2
name:
type: string
description: English name.
postalExample:
type: string
provinceField:
type:
- string
- 'null'
description: Set when the country needs a province, null otherwise.
provinceExample:
type:
- string
- 'null'
products:
type: array
items:
type: string
enum:
- standard
- priority
- registered
description: What can actually be sent there today.
'429':
description: Rate limited. Read Retry-After.
headers:
X-Request-Id:
description: Identifier for tracing this request in support and operational logs.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
required:
- error
- requestId
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details: {}
requestId:
type: string
description: Also returned as X-Request-Id. Include it when reporting a failed API call.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'An API key from the account area, sent as `Authorization: Bearer <key>`. Keys beginning `sk_test_` run the whole lifecycle without printing, posting or charging anything; keys beginning `sk_live_` post real letters and spend real credit.'