Carbonara CO2 Places API

The Places API from Carbonara CO2 — 1 operation(s) for places.

Operations 1

GET /v1/places Find cities, ports, rail and road terminals and airports by name or code #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/carbonara-co2-org:carbonara-co2-org-places-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

carbonara-co2-org-places-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sootcase Places API
  version: 0.1.0
  description: Freight emissions calculator following the GLEC Framework / ISO 14083 approach. Emissions are in kg CO2e. TTW = tank-to-wheel, WTW = well-to-wheel.
  license:
    name: PolyForm Noncommercial 1.0.0
    identifier: PolyForm-Noncommercial-1.0.0
servers:
- url: https://sootcase.org
  description: 'Free test service; send your API key as ''Authorization: Bearer <key>'' (get one at https://sootcase.org)'
- url: http://localhost:8080
  description: sootcase serve
tags:
- name: Places
paths:
  /v1/places:
    get:
      summary: Find cities, ports, rail and road terminals and airports by name or code
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
        description: Name
        UN/LOCODE or IATA code: null
        e.g. rotterdam: null
        NLRTM: null
        CPH: null
      - name: kind
        in: query
        schema:
          type: string
        description: 'Comma-separated kinds: city, port, rail, road, airport, inland, border'
      - name: limit
        in: query
        schema:
          type: integer
          default: 10
          maximum: 50
      responses:
        '200':
          description: Matching places, best first
          content:
            application/json:
              schema:
                type: object
                properties:
                  places:
                    type: array
                    items:
                      $ref: '#/components/schemas/Place'
      tags:
      - Places
      operationId: getV1Places
      x-operation-id-source: derived
components:
  schemas:
    Place:
      type: object
      properties:
        id:
          type: string
          example: locode:NLRTM
        code:
          type: string
          example: NLRTM
        kinds:
          type: array
          items:
            type: string
            enum:
            - city
            - port
            - rail
            - road
            - airport
            - inland
            - border
        name:
          type: string
          example: Rotterdam
        alt_name:
          type: string
          description: e.g. the English name of a place listed under its local name
        region:
          type: string
        country:
          type: string
          example: NL
        country_name:
          type: string
          example: Netherlands
        lat:
          type: number
        lon:
          type: number