RailSends API
Build deliveries into your store or tooling: get quotes, book, track, and receive webhooks. Integrate against sandbox keys first — sandbox activity stays separate from live deliveries. Switch to a production key when you go live.
Base URL https://api.railsends.comAuth Bearer API key
Quote, book and track deliveries. Authenticate with a merchant sandbox key.
Used for the requests on this page, and kept in this browser tab. Use a sandbox key — never paste a production key into shared tooling.
GET
/v1/placesSearch places
Search the named-place catalogue for a pickup or destination. Every route is keyed on a place, never coordinates.
No authReturns 200
Try it
Sandbox requests run through this page · https://api.railsends.comName, alias, or parent name. Min 2 characters.
Return only direct children of a place — pass the `parent_id` from a previous result (e.g. list the areas within a city).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| q | query | string | Name, alias, or parent name. Min 2 characters. |
| parent | query | string | Return only direct children of a place — pass the `parent_id` from a previous result (e.g. list the areas within a city). |
Example code
curl -X GET https://api.railsends.com/v1/places?q=accraResponse · 200
{
"id": "cmu1place0001",
"name": "East Legon",
"kind": "area",
"parent_id": "cmu1place0000",
"parent_name": "Accra",
"path": [
"Accra",
"Greater Accra"
]
}