Reseller sandbox
Test quotes, reservation creation, retrieval, cancellation and simulated driver tracking with synthetic data and a dedicated test key.
Sandbox documentation and examples
Production reservation creation and cancellation require separate partner activation. Reservation API documentation
Getting started
Include these headers on every request. Replace {api_key} with the key issued to your account.
Accept: application/json
Content-Type: application/json
Authorization: Bearer {api_key}
You can send the same key in an X-Api-Key header instead of Authorization.
API key
To request reseller access, send an email to dev@7transfers.com. We will send you an API key. Keep it on your server; do not expose it in browser JavaScript.
An inactive or missing key is rejected. Regenerating a key invalidates the previous one immediately.
Get vehicle prices
Send pickup, dropoff, date and time. The response lists available vehicles with the same sale price shown to customers.
JSON body
pickup_addressPickup address or place name
dropoff_addressDropoff address or place name
dateYYYY-MM-DD
timeHH:mm (24-hour)
passengersOptional. Filters vehicles that cannot carry this many passengers.
Example
curl -X POST https://taxi2spain.com/api/reseller/quote \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {api_key}' \
-d '{"pickup_address":"Malaga Airport","dropoff_address":"Marbella","date":"2026-09-20","time":"10:30","passengers":4}'
Response 200
{
"pickup_address": "Malaga Airport",
"dropoff_address": "Marbella",
"date": "2026-09-20",
"time": "10:30",
"passengers": 4,
"currency": "EUR",
"currency_symbol": "€",
"request_quote_required": false,
"vehicles": [
{
"id": 1,
"name": "Standard",
"price": 85.00,
"image": "https://example.com/vehicles/standard.jpg",
"passengers": 4,
"luggage": 4,
"hand_luggage": 2,
"child_seats": 2,
"baby_seats": 1,
"infant_seats": 1,
"wheelchair": 0
}
]
}
Este endpoint devuelve precios. Los socios con acceso a reservas pueden usar una cotización guardada con los endpoints de reservas. Consulta la documentación de reservas y sandbox.
Error format
Errors return JSON with a message.
{ "message": "Unauthorized." }
401 Missing or invalid API key
403 API key is inactive
422 Invalid trip data, or no quote could be calculated
Frequently asked questions
What is the 7Transfers Reseller API?
It is a REST API that returns live airport transfer and private taxi prices. Partners use it to show 7Transfers fares on their own website.
How do I get a transfer price API key?
Send an email to dev@7transfers.com. We will send you a private API key. Keep it on your server, not in public JavaScript.
Can I sell 7Transfers transfers on my website?
Sí. Consulta precios con POST /api/reseller/quote. La creación, consulta y cancelación de reservas requiere una activación específica para cada socio. Prueba primero el flujo completo en el sandbox.
Which prices does the API return?
The same public sale prices a customer sees on this 7Transfers website for that pickup, dropoff, date, and time, including vehicle options and passenger capacity.