A pact between GDS API Adapters and Imminence API

Requests from GDS API Adapters to Imminence API


Given a service exists called number-plate-supplier with places, upon receiving the request to retrieve all places for the current dataset from GDS API Adapters, with

  "method": "get",
  "path": "/places/number-plate-supplier.json",
  "query": "lat=-2.01&lng=53.1&limit=5",
  "headers": {
    "Accept": "application/json",
    "User-Agent": "gds-api-adapters/85.0.0 ()"

Imminence API will respond with:

  "status": 200,
  "headers": {
    "Content-Type": "application/json; charset=utf-8"
  "body": [
      "access_notes": null,
      "address1": "Yarrow Road Tower Park",
      "address2": null,
      "data_set_version": 473,
      "email": null,
      "fax": null,
      "general_notes": null,
      "geocode_error": null,
      "location": {
        "longitude": -1.9552618901330387,
        "latitude": 50.742754933617285
      "name": "Breeze Motor Co Ltd",
      "override_lat": null,
      "override_lng": null,
      "phone": "01202 713000",
      "postcode": "BH12 4QY",
      "service_slug": "number-plate-supplier",
      "snac": null,
      "source_address": "Yarrow Road Tower Park Poole  BH12 4QY",
      "text_phone": null,
      "town": "Yarrow",
      "url": null