{
  "opencollection": "1.0.0",
  "info": {
    "name": "Geocodio API",
    "version": "1.7"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "apikey": {
        "key": "api_key",
        "value": "{{apiKey}}",
        "in": "query"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Forward Geocoding",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Geocode a single address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.geocod.io/v1.7/geocode?q=1109 N Highland St, Arlington VA&fields=cd,stateleg,census,timezone&limit=1"
          },
          "docs": "Converts a single address into latitude and longitude. Each requested fields value counts as an additional lookup."
        }
      ]
    },
    {
      "info": {
        "name": "Reverse Geocoding",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Reverse geocode a single coordinate",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.geocod.io/v1.7/reverse?q=38.9002898,-76.9990361&fields=timezone"
          },
          "docs": "Converts a single latitude,longitude pair into the nearest street address."
        }
      ]
    },
    {
      "info": {
        "name": "Batch",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Batch geocode addresses",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.geocod.io/v1.7/geocode?fields=cd",
            "body": {
              "type": "json",
              "data": "[\"1109 N Highland St, Arlington VA\", \"525 University Ave, Toronto, ON, Canada\"]"
            }
          },
          "docs": "Geocodes up to 10,000 addresses in a single request using a JSON array or keyed JSON object."
        },
        {
          "info": {
            "name": "Batch reverse geocode coordinates",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.geocod.io/v1.7/reverse",
            "body": {
              "type": "json",
              "data": "[\"35.9746000,-77.9658000\", \"32.8793000,-96.6300000\"]"
            }
          },
          "docs": "Reverse geocodes up to 10,000 coordinate pairs in a single request."
        }
      ]
    },
    {
      "info": {
        "name": "Lists",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "View all lists",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.geocod.io/v1.7/lists"
          },
          "docs": "Returns all spreadsheet geocoding list jobs for the account."
        },
        {
          "info": {
            "name": "Create a list",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.geocod.io/v1.7/lists",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Uploads a spreadsheet file (CSV, TSV, Excel) to be geocoded asynchronously as a list job."
        },
        {
          "info": {
            "name": "Check list status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.geocod.io/v1.7/lists/1234"
          },
          "docs": "Returns the status and metadata for a single list job."
        },
        {
          "info": {
            "name": "Download list results",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.geocod.io/v1.7/lists/1234/download"
          },
          "docs": "Downloads the completed, geocoded spreadsheet for a list job."
        },
        {
          "info": {
            "name": "Delete a list",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.geocod.io/v1.7/lists/1234"
          },
          "docs": "Deletes a list job and its stored results."
        }
      ]
    }
  ]
}
