Postbye API API

Postbye cancels subscriptions for you by mail. We send a formal cancellation letter by certified mail, track it until it is delivered and confirm it went through. This API is public and read-only: no key or sign-in, nothing is stored. GET /api/v1/companies/{slug} returns the public facts on a compan

GitHub OpenAPI

Operations 3

GET /api/v1/companies/{slug} Get a company's cancellation guide facts #
POST /mcp Model Context Protocol endpoint (Streamable HTTP, JSON-RPC 2.0) #
POST /a2a Agent2Agent endpoint (A2A 0.3, JSON-RPC 2.0) #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/postbye-com:postbye-api-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

postbye-com-api-openapi.json Raw ↑
{
  "openapi": "3.1.0",
  "info": {
    "title": "Postbye API",
    "version": "1.0.0",
    "summary": "Read-only lookup of cancellation guides for subscriptions and memberships.",
    "description": "Postbye cancels subscriptions for you by mail. We send a formal cancellation letter by certified mail, track it until it is delivered and confirm it went through. This API is public and read-only: no key or sign-in, nothing is stored. GET /api/v1/companies/{slug} returns the public facts on a company's guide page; POST /mcp is the Model Context Protocol endpoint (search_companies, get_cancellation_guide, get_cancellation_letter, list_categories); POST /a2a is the Agent2Agent endpoint (message/send with a company name). MCP docs: https://postbye.com/mcp-server. Plain-text site index: https://postbye.com/llms.txt.",
    "contact": {
      "name": "Postbye Team",
      "url": "https://postbye.com"
    }
  },
  "servers": [
    {
      "url": "https://postbye.com",
      "description": "Production"
    }
  ],
  "externalDocs": {
    "description": "Postbye MCP server documentation",
    "url": "https://postbye.com/mcp-server"
  },
  "tags": [
    {
      "name": "companies",
      "description": "Cancellation guides by company."
    },
    {
      "name": "mcp",
      "description": "Model Context Protocol endpoint."
    },
    {
      "name": "a2a",
      "description": "Agent2Agent (A2A) endpoint; its agent card is at /.well-known/agent.json."
    }
  ],
  "paths": {
    "/api/v1/companies/{slug}": {
      "get": {
        "operationId": "getCompany",
        "tags": [
          "companies"
        ],
        "summary": "Get a company's cancellation guide facts",
        "description": "How the company takes cancellations, whether the facts were verified, whether Postbye can mail a cancellation letter to it, and the guide page URLs. A merged duplicate's old slug resolves to the current company. To find a slug by name use the MCP tool search_companies.",
        "security": [],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "Company slug as in https://postbye.com/cancel/{slug}.",
            "schema": {
              "type": "string",
              "pattern": "^[a-z0-9][a-z0-9.-]{0,99}$",
              "maxLength": 100
            },
            "example": "netflix"
          }
        ],
        "responses": {
          "200": {
            "description": "The company.",
            "headers": {
              "Cache-Control": {
                "description": "Cacheable for an hour at the CDN.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                },
                "example": {
                  "name": "Netflix",
                  "slug": "netflix",
                  "category": "Streaming & entertainment",
                  "method": "letter",
                  "how_to_cancel": "Online",
                  "website": null,
                  "verified": true,
                  "verified_on": "2026-11-01",
                  "postbye_can_mail_letter": true,
                  "page_url": "https://postbye.com/cancel/netflix",
                  "address_page_url": "https://postbye.com/cancel/netflix/address"
                }
              }
            }
          },
          "404": {
            "description": "No cancellation guide for this slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "not_found",
                  "message": "No cancellation guide for \"no-such-company\". Find a slug with the MCP tool search_companies or on https://postbye.com/cancel."
                }
              }
            }
          }
        }
      }
    },
    "/mcp": {
      "post": {
        "operationId": "mcpJsonRpc",
        "tags": [
          "mcp"
        ],
        "summary": "Model Context Protocol endpoint (Streamable HTTP, JSON-RPC 2.0)",
        "description": "Stateless and read-only. Methods: initialize, tools/list, tools/call. Tools: search_companies, get_cancellation_guide, get_cancellation_letter, list_categories. Read-only reference for cancelling subscriptions and memberships by mail. Use search_companies to find a company's slug, get_cancellation_guide for how it takes cancellations (notice period, traps, mailing address) and get_cancellation_letter for a ready-to-send letter. Every answer matches the company's page on postbye.com. Server card: https://postbye.com/.well-known/mcp/server-card.json. MCP clients should connect to https://postbye.com/mcp with their MCP configuration; the docs are at https://postbye.com/mcp-server.",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest"
              },
              "example": {
                "jsonrpc": "2.0",
                "id": 1,
                "method": "tools/call",
                "params": {
                  "name": "search_companies",
                  "arguments": {
                    "query": "netflix",
                    "limit": 1
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A JSON-RPC 2.0 response (a result, or an error object).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse"
                }
              }
            }
          },
          "202": {
            "description": "A notification or response message: accepted, no body."
          },
          "400": {
            "description": "Not a valid JSON-RPC request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is over 64 KB."
          }
        }
      }
    },
    "/a2a": {
      "post": {
        "operationId": "a2aJsonRpc",
        "tags": [
          "a2a"
        ],
        "summary": "Agent2Agent endpoint (A2A 0.3, JSON-RPC 2.0)",
        "description": "Stateless and read-only; this is the `url` of the agent card. Method message/send (A2A 1.0 name SendMessage is accepted too): the user message's text part holds a company name or slug (for example \"How do I cancel Netflix?\"); the result is one agent message (kind \"message\", role \"agent\") with a text part summarising the company and a data part holding the same record as GET /api/v1/companies/{slug}. With no match, the text part says so and lists up to five close public guides. tasks/get and tasks/cancel answer TaskNotFound (-32001) because no task is ever created; message/stream answers UnsupportedOperation (-32004). Agent card: https://postbye.com/.well-known/agent.json.",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest"
              },
              "example": {
                "jsonrpc": "2.0",
                "id": 1,
                "method": "message/send",
                "params": {
                  "message": {
                    "kind": "message",
                    "messageId": "1",
                    "role": "user",
                    "parts": [
                      {
                        "kind": "text",
                        "text": "netflix"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A JSON-RPC 2.0 response: a result message, or an error object (-32700 parse, -32600 invalid request, -32601 unknown method, -32602 invalid params, -32001 task not found, -32004 unsupported operation).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is over 64 KB."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Company": {
        "type": "object",
        "description": "The public facts on a company's guide page at https://postbye.com/cancel/{slug}.",
        "required": [
          "name",
          "slug",
          "category",
          "method",
          "how_to_cancel",
          "website",
          "verified",
          "verified_on",
          "postbye_can_mail_letter",
          "page_url",
          "address_page_url"
        ],
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "description": "Name shown on the guide page."
          },
          "slug": {
            "type": "string",
            "description": "The company's current slug."
          },
          "category": {
            "type": [
              "string",
              "null"
            ],
            "description": "Category hub label, for example Streaming."
          },
          "method": {
            "type": "string",
            "enum": [
              "letter",
              "email",
              "both"
            ],
            "description": "How the company accepts cancellations in Postbye's database."
          },
          "how_to_cancel": {
            "type": "string",
            "description": "One line on how the company takes cancellations."
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "description": "The company's website."
          },
          "verified": {
            "type": "boolean",
            "description": "True when the facts were checked by hand against the company's own pages."
          },
          "verified_on": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of that check."
          },
          "postbye_can_mail_letter": {
            "type": "boolean",
            "description": "True when a mailing address is on file (or the letter goes to the member's home club), so Postbye can mail a cancellation letter."
          },
          "page_url": {
            "type": "string",
            "format": "uri",
            "description": "The guide page."
          },
          "address_page_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "The where-to-send page with the mailing addresses on file; null when none."
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "error",
          "message"
        ],
        "properties": {
          "error": {
            "type": "string",
            "enum": [
              "not_found"
            ]
          },
          "message": {
            "type": "string"
          }
        }
      },
      "JsonRpcRequest": {
        "type": "object",
        "required": [
          "jsonrpc",
          "method"
        ],
        "properties": {
          "jsonrpc": {
            "const": "2.0"
          },
          "id": {
            "type": [
              "string",
              "integer"
            ]
          },
          "method": {
            "type": "string",
            "examples": [
              "initialize",
              "tools/list",
              "tools/call"
            ]
          },
          "params": {
            "type": "object"
          }
        }
      },
      "JsonRpcResponse": {
        "type": "object",
        "required": [
          "jsonrpc"
        ],
        "properties": {
          "jsonrpc": {
            "const": "2.0"
          },
          "id": {
            "type": [
              "string",
              "integer",
              "null"
            ]
          },
          "result": {
            "type": "object"
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}