Skip to content

smiles.com.br

Smiles API

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

Extracts ticket offers from Smiles by route, dates and passengers, with miles, values in reais, fees, flight numbers, companies per connection and baggage entered in the search.

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

Available operations

Search flights

smiles.com.br:plp

Extracts ticket offers from Smiles by route, dates and passengers, with miles, values in reais, fees, flight numbers, companies per connection and baggage entered in the search.

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.

Smiles · cURL
curl -X POST https://api.geckoapi.com.br/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "target": "smiles.com.br",
  "type": "plp",
  "from": "GRU",
  "to": "GIG",
  "departureDate": "2026-11-09",
  "returnDate": "2026-11-16",
  "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": "smiles.com.br",
    "type": "plp",
    "parser": "1.0.0",
    "url": "https://www.smiles.com.br/passagens-aereas?from=GRU&to=GIG&departureDate=2026-11-09&returnDate=2026-11-16&numAdults=1&numChildren=0&numInfants=0&cabin=ALL",
    "requestUrl": "https://www.smiles.com.br/passagens-aereas?from=GRU&to=GIG&departureDate=2026-11-09&returnDate=2026-11-16&numAdults=1&numChildren=0&numInfants=0&cabin=ALL",
    "extractedAt": "2026-10-11T15:00:00.000Z",
    "searchType": "ROUND_TRIP",
    "from": "GRU",
    "to": "GIG",
    "departureDate": "2026-11-09",
    "returnDate": "2026-11-16",
    "numAdults": 1,
    "numChildren": 0,
    "numInfants": 0,
    "cabin": "ALL",
    "runtimeEnv": "green",
    "totalOffers": 2,
    "listedOffers": 2
  }
}
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 Smiles API?

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