Skip to content

maxmilhas.com.br

MaxMilhas API

Query public MaxMilhas data with GeckoAPI and receive structured JSON. Choose an operation to review its inputs, credit cost and response fields.

Extracts flight offers from MaxMilhas by origin/destination airport, dates and passengers. API creates the search, consults the returned companies and delivers standardized offers in structured JSON.

GeckoAPI is independent of MaxMilhas. This integration reads public data; it does not grant access to private accounts or account management operations.

Available operations

Search flights

maxmilhas.com.br:plp

Extracts flight offers from MaxMilhas by origin/destination airport, dates and passengers. API creates the search, consults the returned companies and delivers standardized offers in structured JSON.

5 credits per request

These are standard credit costs. Account-specific pricing is shown in the dashboard. Each operation has its own supported inputs and regional coverage.

Coverage and limitations

Some requests can take up to 1 minute to respond. This is expected for this operation; wait for the request to complete.

Make your first request

The example uses search flights. Replace YOUR_API_KEY with your server-side API key. Copy supported inputs from the reference for the operation you choose.

MaxMilhas · cURL
curl -X POST https://api.geckoapi.com.br/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "target": "maxmilhas.com.br",
  "type": "plp",
  "from": "GRU",
  "to": "GIG",
  "departureDate": "2026-06-20",
  "returnDate": "2026-06-27",
  "numAdults": 1,
  "numChildren": 0,
  "numInfants": 0
}'

Example JSON response

Abbreviated example from the same operation. Arrays and nested objects are shortened here; the endpoint reference includes the full documented schema. Source content retains its original language.

Abbreviated response
{
  "requestId": "99999999-1111-4111-8111-999999999999",
  "executionId": "99999999-2222-4222-8222-999999999999",
  "data": {
    "source": "maxmilhas.com.br",
    "type": "plp",
    "parser": "1.0.0",
    "url": "https://www.maxmilhas.com.br/passagens-aereas?from=GRU&to=GIG&departureDate=2026-06-20&returnDate=2026-06-27&numAdults=1&numChildren=0&numInfants=0",
    "requestUrl": "https://www.maxmilhas.com.br/passagens-aereas?from=GRU&to=GIG&departureDate=2026-06-20&returnDate=2026-06-27&numAdults=1&numChildren=0&numInfants=0",
    "createUrl": "https://bff-mobile.maxmilhas.com.br/v1/combo/offers",
    "extractedAt": "2026-05-15T15:00:00.000Z",
    "searchType": "ROUND_TRIP",
    "from": "GRU",
    "to": "GIG",
    "departureDate": "2026-06-20",
    "returnDate": "2026-06-27",
    "numAdults": 1,
    "numChildren": 0,
    "numInfants": 0,
    "cabin": "EC",
    "searchId": "combo-search-id",
    "airlines": [
      "gol",
      "latam"
    ]
  }
}
Explore the full response and field descriptions

Integrate with REST or MCP

Call POST /v1/extract from your backend, or use the operation-specific tool on POST /v1/mcp. The API reference includes both request formats. Keep credentials in your backend and handle missing fields, pagination and errors according to that operation's rules.

Authentication and getting started

Ready to test the MaxMilhas API?

Open the documented example in the sandbox and inspect the response before integrating it into your application.