Skip to content

Plan trips from your own code

One call returns a day-by-day trip. Every MarcoPolo stop is a real place with a catalogue ID and coordinates. The sandbox is free.
POST/v1/developer/trips
Example

Request

curl https://api.tripcreator.ai/v1/developer/trips \
  -H "Authorization: Bearer $TRIPCREATOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "marcopolo",
    "prompt": "A week in Italy, north to south, art and coast.",
    "country": "Italy",
    "days": 7
  }'

Response

200 OK

{
  "id": "trp_7Hq2",
  "model": "marcopolo",
  "environment": "sandbox",
  "trip": {
    "title": "Art and Coast Across Italy",
    "segments": [
      {
        "location": {
          "city": "Florence",
          "country": "Italy"
        },
        "days": [
          {
            "day_number": 1,
            "day_title": "Florentine Markets and Historic Stalls",
            "activities": [
              {
                "sequence": 1,
                "name": "Florence Central Market",
                "entity_id": "3458396",
                "latitude": 43.7773,
                "longitude": 11.2538
              },
              {
                "sequence": 2,
                "name": "Mercato del Porcellino",
                "entity_id": "3463217",
                "latitude": 43.77,
                "longitude": 11.2543
              },
              …
            ]
          },
          …
        ]
      }
    ]
  }
}
Example call. The places, IDs and coordinates are a real MarcoPolo answer, cut short. The id is a placeholder.

Quick to plan, light to run

MarcoPolo plans a whole trip in seconds, for about two cents a trip day.

See the full benchmark
  • 14.7 s
    to a finished plan

    Median in Trippy on production, with every day written.

  • $0.02
    per trip day

    A general model costs $0.17 or more a day once each stop is checked.

What the API gives you

The models that plan for Atlas and Trippy, behind one key.
  • Two models, one format

    MarcoPolo plans from our catalogue. Navigator plans with maps, places and live data.

  • Real places with IDs

    Every MarcoPolo stop carries a catalogue ID and coordinates.

  • Your catalogue or ours

    Ask for your organisation catalogue to plan with your own hotels, restaurants and experiences.

  • Playground, logs and webhooks

    Try a brief, follow every call, get signed and retried webhooks.

A mountain road winding through the Dolomites under a night sky

From sign-up to your first trip

  1. 1

    Sign up

    Choose developer. We review every account before it opens.
  2. 2

    Make a sandbox key

    Free, at 10 requests a minute and 25 trips a day.
  3. 3

    Call the API

    POST a brief to /v1/developer/trips. A trip takes a few seconds to about a minute.
  4. 4

    Go live

    Production keys pay per trip day from prepaid credits. MarcoPolo lists at $0.02 a day.

See the models running

The same models plan in these products.

More solutions