To navigate

    To select

    algolia
    Developers Sign in Sign up
    Home
    Getting Started
    API Basics
    # Getting started
    # Authorization
    # Security
    # Status & Error Codes
    # Subscriptions
    Other Basics
    # GraphQL Basics
    # EV Basics
    API Reference
    API
    # Quick setup guide
    # Pagination
    Cars
    # Introduction
    # Query cars
    # Query car details
    # Query premium car details
    Stations
    # Introduction
    # Query stations
    # Query station details
    # Query stations around a GeoJSON point
    # Query station reviews
    # Mutate to create a station review
    # Subscribe to station updates
    # Query station operators
    # Query station operator details
    # Query station tariffs
    # Query station tariff details
    # Query station amenities
    # Query station statistics
    Routes
    # Introduction
    # Mutate to create a new route
    # Subscribe to route updates
    # Query route details
    # Query route path
    Navigation
    # Introduction
    # Mutate to start a new navigation session
    # Subscribe to navigation updates
    # Query navigation session
    # Mutate to update a navigation session
    # Mutate to recalculate navigation
    # Mutate to finish navigation
    Connected Car Data
    # Introduction
    # Telemetry
    Tile Service
    # Introduction
    # Properties
    # Filters
    # Integration
    Release notes
    Deprecations
    Help center
    Playground
    Voyager
    Examples
    Github
    Website
    Documentation
    Sign up
    Dark mode

    Pagination

    Most of our list queries support pagination to make fetching large sets of data responsive and fast. Examples of such queries are cars, stations, operators and reviews.

    Implementing pagination isn't hard because a common structure is in place. Each list query has a size and page argument. The size argument sets the number of items you will get per page. The page argument is a pointer that incrementally fetches new data. Both are of type int.

    Limits & defaults

    To keep up the performance of our API and prevent overfetching, size limits are in place. By default the limit is set to a maximum of 100. Exceptions to this rule are the car and review query. These both accept a maximum of 1000. If you send a size that's over the maximum, it will be set to the maximum.

    Next to limits, the following defaults will be used when they are not set on the query;

    Default values

    Argument Type Default
    size int Default is set to 10
    page int Default is set to 0