SAM.gov · Example Payload

Sam Gov Validate Zip Example

Federal GovernmentProcurementContractsEntity ManagementLocation ServicesGSA

Sam Gov Validate Zip Example is an example object payload from SAM.gov, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://api.sam.gov/locationservices/v1/zip",
    "parameters": {
      "api_key": "{SAM_GOV_API_KEY}",
      "zip": "20401"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "zip": "20401",
      "cityList": [
        {
          "cityCode": "WAS",
          "cityName": "Washington",
          "stateCode": "DC",
          "countyCode": "001",
          "countyName": "District of Columbia",
          "countryCode": "US"
        }
      ]
    }
  }
}