PANGAEA · Example Payload

Search By Bounding Box

Example Elasticsearch query to search for datasets within the North Atlantic Ocean bounding box, filtered to the last 10 years and sorted by publication year descending.

Earth ScienceOcean DataClimate RecordsEnvironmental ScienceGeoscienceOpen DataScientific Data

Search By Bounding Box is an example object payload from PANGAEA, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionendpointmethodheadersrequestresponse

Example Payload

Raw ↑
{
  "title": "Search PANGAEA Datasets by Bounding Box",
  "description": "Example Elasticsearch query to search for datasets within the North Atlantic Ocean bounding box, filtered to the last 10 years and sorted by publication year descending.",
  "endpoint": "https://ws.pangaea.de/es/pangaea/panmd/_search",
  "method": "POST",
  "headers": {
    "Content-Type": "application/json"
  },
  "request": {
    "query": {
      "bool": {
        "must": [
          {
            "match_all": {}
          }
        ],
        "filter": [
          {
            "geo_bounding_box": {
              "meanPosition": {
                "top_left": {
                  "lat": 65.0,
                  "lon": -80.0
                },
                "bottom_right": {
                  "lat": 20.0,
                  "lon": 20.0
                }
              }
            }
          },
          {
            "range": {
              "minDateTime": {
                "gte": "2015-01-01",
                "lte": "2025-12-31"
              }
            }
          }
        ]
      }
    },
    "size": 10,
    "from": 0,
    "sort": [
      {
        "agg-pubYear": {
          "order": "desc"
        }
      }
    ],
    "_source": [
      "URI",
      "agg-author",
      "agg-campaign",
      "minDateTime",
      "maxDateTime",
      "northBoundLatitude",
      "southBoundLatitude",
      "eastBoundLongitude",
      "westBoundLongitude",
      "nDataPoints"
    ]
  },
  "response": {
    "took": 45,
    "timed_out": false,
    "_shards": {
      "total": 5,
      "successful": 5,
      "skipped": 0,
      "failed": 0
    },
    "hits": {
      "total": 12847,
      "max_score": null,
      "hits": [
        {
          "_index": "pangaea",
          "_type": "panmd",
          "_id": "912345",
          "_score": null,
          "_source": {
            "URI": "https://doi.pangaea.de/10.1594/PANGAEA.912345",
            "agg-author": ["Mueller, A", "Behrens, M"],
            "agg-campaign": "MSM72",
            "minDateTime": "2019-05-01T00:00:00Z",
            "maxDateTime": "2019-05-28T00:00:00Z",
            "northBoundLatitude": 62.5,
            "southBoundLatitude": 55.2,
            "eastBoundLongitude": -10.3,
            "westBoundLongitude": -25.8,
            "nDataPoints": 8450
          },
          "sort": [2024]
        }
      ]
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/search-by-bounding-box"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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