# API Documentation API > REST API for rate calculation, label purchase and cancellation, tracking, and pickup ordering. Works from your server, CRM, or script. All examples below can be run as is by inserting your key. Base URL: https://api.shippickup.com/v1 Authentication: header `Authorization: Bearer ` (keys: sk_test_... sandbox, sk_live_... live). Money is integer cents (USD). MCP server (JSON-RPC over HTTP POST): https://api.shippickup.com/mcp with the same header. ## Docs - [Connect in 5 minutes](https://api.shippickup.com/docs/quick): One path from key to first label: five steps, ready-made snippets with a copy button. Detailed guide sections remain below in the menu. - [Connect via AI](https://api.shippickup.com/docs/ai): Any AI agent can connect to the API itself: it just needs the specification address or MCP server and your key. Below are what each form provides and ready instructions for ChatGPT, Claude, and code editors. - [Ready-made solutions for CRM and services](https://api.shippickup.com/solutions): Connect ShipPickup to your CRM, spreadsheet, or automation builder without custom development: ready bridges, scripts, and workflows with downloadable files and step-by-step instructions. All solutions work via the public API, with the key stored in your system settings, not in files. - [Quick Start](https://api.shippickup.com/docs/quickstart): Five steps from registration to first label and tracking. The first three steps are free and work with a test key. - [Authentication](https://api.shippickup.com/docs/auth): The API uses keys. The key is passed in the header of each request; there are no separate logins or sessions. - [Keys and permissions](https://api.shippickup.com/docs/key-scopes): An API key can be restricted exactly to what the integration needs: a set of permissions, expiration, IP whitelist, and its own request limit. Each key has statistics in the dashboard. - [Responses and Error Codes](https://api.shippickup.com/docs/responses): All responses are in JSON format. The HTTP status always reflects the result, so checking the status is enough, and the body can be parsed according to the format below. - [Idempotency](https://api.shippickup.com/docs/idempotency): When purchasing a label, you can't make the mistake twice: connection drops or timeouts leave uncertainty about whether the label was purchased. The `Idempotency-Key` header makes retries safe. - [Request Limits](https://api.shippickup.com/docs/limits): The limit is counted separately for each key and set in the dashboard when creating the key. - [Sandbox](https://api.shippickup.com/docs/sandbox): The test key `sk_test_…` allows you to debug integration for free: rate calculation, order reading, and error handling. - [Availability check](https://api.shippickup.com/docs/ping): Returns `ok` if the API is working. No key needed, method is convenient for monitoring and connection testing. - [Balance](https://api.shippickup.com/docs/balance): Current account balance in US dollars. Purchasing a label deducts funds from this balance, which can be replenished in the dashboard or via a USDT top-up invoice through the API (`POST /deposits`). - [Rates](https://api.shippickup.com/docs/rates): Carrier offers for the route and parcel. The price `price_cents` is what the customer will pay. To purchase a label, provide the `rate_id` of the selected rate. - [Buy label](https://api.shippickup.com/docs/shipments-create): Creates an order using `rate_id` and purchases the label. The amount is deducted from the balance in advance; if the label creation fails, the money is automatically refunded. - [Order list](https://api.shippickup.com/docs/shipments-list): Account orders, newest first. Filters by status, carrier, dates, tracking number, and your order reference (`reference`), with cursor or offset pagination. - [Order](https://api.shippickup.com/docs/shipments-get): A single order by number or tracking number: status, carrier, price, addresses, dates. - [Cancel order](https://api.shippickup.com/docs/shipments-cancel): Cancels the order and returns the payment to the balance. Repeated cancellations are safe. - [Cancel multiple orders](https://api.shippickup.com/docs/shipments-cancel-batch): Batch cancellation of up to 50 orders in a single request. Each order in the response has its own result: cancelled, cannot be cancelled (with reason), not found. - [Download label (PDF)](https://api.shippickup.com/docs/shipments-label): Returns the PDF label of your order. The label can be obtained as long as the order is not cancelled and `label_available` is true. - [Tracking](https://api.shippickup.com/docs/tracking): Order and parcel transit events, newest first. - [Pickup dates and windows](https://api.shippickup.com/docs/pickup-slots): Available dates and time windows when the carrier's courier will pick up the parcel. The window ID is passed to the pickup order method. - [Order pickup](https://api.shippickup.com/docs/pickup): Orders parcel pickup by the carrier's courier for the purchased order in the selected window. - [Cancel pickup](https://api.shippickup.com/docs/pickup-cancel): Cancels the scheduled pickup and returns the fee to the balance. The order and label remain. - [Create top-up invoice](https://api.shippickup.com/docs/deposits-create): Creates an invoice to top up your balance via USDT transfer (TRC20 network): wallet address, exact transfer amount, and deadline. Funds are credited automatically once the transfer is detected on the blockchain. - [List of top-up invoices](https://api.shippickup.com/docs/deposits-list): Top-up invoices, newest first, paginated by cursor. Can be filtered by status. - [Top-up invoice status](https://api.shippickup.com/docs/deposits-get): Invoice status: awaiting transfer, credited (with received amount and transaction hash), or expired. - [Address list](https://api.shippickup.com/docs/addresses-list): Account address book (same addresses as in the dashboard). Filter by type, search, paginated output. - [Add address](https://api.shippickup.com/docs/addresses-create): Saves an address to the address book. Fields are validated the same way as in the dashboard: postal code and state by country, carrier length restrictions. - [Get address](https://api.shippickup.com/docs/addresses-get): A single address from the address book. Accessing someone else's or deleted address returns 404. - [Edit address](https://api.shippickup.com/docs/addresses-update): Replaces all address fields entirely (like when creating). - [Delete address](https://api.shippickup.com/docs/addresses-delete): Removes an address from the address book. Orders already created keep their own copy of the address. - [Team members](https://api.shippickup.com/docs/team-list): Workspace members: roles (`owner`, `admin`, `staff`) and status. - [Invite employee](https://api.shippickup.com/docs/team-invite): Sends a team invitation via email. Requires account owner key with `team:manage` permission. - [Active invitations](https://api.shippickup.com/docs/team-invitations): Invitations that have not yet been accepted or expired. - [Revoke invitation](https://api.shippickup.com/docs/team-invitation-delete): Invitation link stops working. Only the owner key with `team:manage` permission. - [Change member role](https://api.shippickup.com/docs/team-role): Changes member role to `admin` or `staff`. Owner cannot be demoted, and promotion to owner via API is not allowed. - [Remove member](https://api.shippickup.com/docs/team-remove): Removes a member from the team. Owner cannot be removed, so the last account owner always remains. - [Webhook list](https://api.shippickup.com/docs/webhooks-list): Your webhooks: address, events, enabled status. Signature secret is not shown. - [Create webhook](https://api.shippickup.com/docs/webhooks-create): Subscribes an address to events. Signature secret is shown once, in the creation response. - [Get webhook](https://api.shippickup.com/docs/webhooks-get): Single webhook by number. - [Update webhook](https://api.shippickup.com/docs/webhooks-update): Changes address, events, or enables/disables the webhook. Provide only fields to be changed. - [Delete webhook](https://api.shippickup.com/docs/webhooks-delete): Deletes the webhook along with its delivery log. - [Test event](https://api.shippickup.com/docs/webhooks-test): Sends a `ping` event signed with the secret to the webhook address and returns the delivery result. - [Replace signature secret](https://api.shippickup.com/docs/webhooks-rotate): Issues a new signature secret. The new secret is shown once, the old one becomes invalid immediately. - [Delivery log](https://api.shippickup.com/docs/webhooks-deliveries): What was sent to the webhook: event, status, number of attempts, your server's response code. Paginated by cursor. - [Repeat Delivery](https://api.shippickup.com/docs/webhooks-resend): Sends the same event (with the same `id`) again and returns the result. - [Tracking: webhook events](https://api.shippickup.com/docs/tracking-events): The `shipment.tracking_updated` event is sent to your webhook when the parcel receives new carrier checkpoints: status, description, location, and time. - [Webhooks](https://api.shippickup.com/docs/webhooks): Webhooks notify your server about events themselves: just accept a POST request. Each request is signed with a webhook secret, and the signature must be verified. - [Common Scenarios](https://api.shippickup.com/docs/recipes): Ready-made approaches for typical tasks. Examples use clients in PHP, Node.js, and Python (single file, downloadable in the “Ready Solutions” section). - [API Changelog](https://api.shippickup.com/docs/changelog): This section records changes to the public API. Currently, version v1 is active. - [amoCRM: label by funnel stage](https://api.shippickup.com/docs/integrations/amocrm): The digital funnel webhook purchases a label and writes the tracking number into the deal. - [Bitrix24: label from deal](https://api.shippickup.com/docs/integrations/bitrix24): An outgoing webhook or robot purchases a label and writes the tracking number into the deal. - [MoySklad: shipping label](https://api.shippickup.com/docs/integrations/moysklad): The shipment webhook purchases a label, tracking is added to the shipment description. - [KeyCRM: label on status change](https://api.shippickup.com/docs/integrations/keycrm): The order status change webhook purchases a label and writes tracking to the order. - [RetailCRM: label from trigger](https://api.shippickup.com/docs/integrations/retailcrm): A trigger with an HTTP request purchases a label and writes tracking to the order. - [Google Sheets: table row to label](https://api.shippickup.com/docs/integrations/google-sheets): An Apps Script purchases labels for selected rows and writes tracking back. - [n8n: ready workflow](https://api.shippickup.com/docs/integrations/n8n): Import the workflow: webhook, rate, purchase, and tracking response. - [Make: ready scenario](https://api.shippickup.com/docs/integrations/make): Blueprint: webhook, rate calculation, and label purchase. - [Zapier: Code by Zapier](https://api.shippickup.com/docs/integrations/zapier): The Code by Zapier step purchases a label using data from the trigger. - [Universal webhook](https://api.shippickup.com/docs/integrations/webhook): Receive ShipPickup events in any system: format and signature verification. - [Client for PHP](https://api.shippickup.com/docs/integrations/php): Single file with no dependencies: rates, purchase, cancellation, tracking, webhook verification. - [Client for JavaScript and Node.js](https://api.shippickup.com/docs/integrations/javascript): Single file with no dependencies: rates, purchase, cancellation, tracking, webhook verification. - [Client for Python](https://api.shippickup.com/docs/integrations/python): Single file: rates, purchase, cancellation, tracking, webhook verification. ## Machine-readable - [/openapi.json](https://api.shippickup.com/openapi.json): OpenAPI 3 (JSON), full specification - [/openapi.yaml](https://api.shippickup.com/openapi.yaml): OpenAPI 3 (YAML), full specification - [/openapi-lite.json](https://api.shippickup.com/openapi-lite.json): OpenAPI 3 (JSON), key operations only, short descriptions: for GPT Actions and other tools with size limits - [/ai/tools.json](https://api.shippickup.com/ai/tools.json): Function definitions in OpenAI function calling format - [/ai/tools.anthropic.json](https://api.shippickup.com/ai/tools.anthropic.json): Tool definitions in Claude tools format ## Optional - [API Documentation full text](https://api.shippickup.com/llms-full.txt): all methods, fields and examples in one file