---
updatedAt: 2026-05-14T14:32:15.000Z
agentTools:
  projectIndex: https://docs.oysterhr.com/v0.1/llms.txt
---

# List subdivisions for a country

Returns subdivisions (states, provinces, etc.) for a hireable country.
Properties inside `capabilityOverrides` (e.g. `costEstimates`) appear when availability for that capability differs from the country-level.
`capabilityOverrides` is present only when that subdivision has at least one capability override.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Endpoints",
    "version": "v0.1"
  },
  "components": {
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "errors": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "message"
              ]
            }
          }
        },
        "required": [
          "errors"
        ]
      },
      "subdivision": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "capabilityOverrides": {
            "type": "object",
            "properties": {
              "engagementTypes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "EMPLOYMENT"
                  ]
                }
              },
              "costEstimates": {
                "type": "boolean"
              }
            },
            "anyOf": [
              {
                "required": [
                  "engagementTypes"
                ]
              },
              {
                "required": [
                  "costEstimates"
                ]
              }
            ]
          }
        },
        "required": [
          "code",
          "name",
          "type"
        ]
      },
      "subdivisions": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/subdivision"
        }
      }
    }
  },
  "paths": {
    "/v0.1/hiring/countries/{country_code}/subdivisions": {
      "get": {
        "summary": "List subdivisions for a country",
        "tags": [
          "Employments"
        ],
        "description": "Returns subdivisions (states, provinces, etc.) for a hireable country.\nProperties inside `capabilityOverrides` (e.g. `costEstimates`) appear when availability for that capability differs from the country-level.\n`capabilityOverrides` is present only when that subdivision has at least one capability override.",
        "security": [
          {
            "bearer_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "country_code",
            "in": "path",
            "description": "ISO 3166-1 alpha-2 country code (e.g. US, CA)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful access to the list of subdivisions",
            "content": {
              "application/json": {
                "examples": {
                  "Successful access to the list of subdivisions": {
                    "value": {
                      "data": [
                        {
                          "code": "AK",
                          "name": "Alaska",
                          "type": "STATE",
                          "capabilityOverrides": {
                            "engagementTypes": []
                          }
                        },
                        {
                          "code": "AL",
                          "name": "Alabama",
                          "type": "STATE",
                          "capabilityOverrides": {
                            "engagementTypes": []
                          }
                        },
                        {
                          "code": "AR",
                          "name": "Arkansas",
                          "type": "STATE"
                        },
                        {
                          "code": "AZ",
                          "name": "Arizona",
                          "type": "STATE"
                        },
                        {
                          "code": "CA",
                          "name": "California",
                          "type": "STATE"
                        },
                        {
                          "code": "CO",
                          "name": "Colorado",
                          "type": "STATE"
                        },
                        {
                          "code": "CT",
                          "name": "Connecticut",
                          "type": "STATE"
                        },
                        {
                          "code": "DC",
                          "name": "District of Columbia",
                          "type": "DISTRICT"
                        },
                        {
                          "code": "DE",
                          "name": "Delaware",
                          "type": "STATE",
                          "capabilityOverrides": {
                            "engagementTypes": []
                          }
                        },
                        {
                          "code": "FL",
                          "name": "Florida",
                          "type": "STATE"
                        },
                        {
                          "code": "GA",
                          "name": "Georgia",
                          "type": "STATE"
                        },
                        {
                          "code": "HI",
                          "name": "Hawaii",
                          "type": "STATE"
                        },
                        {
                          "code": "IA",
                          "name": "Iowa",
                          "type": "STATE"
                        },
                        {
                          "code": "ID",
                          "name": "Idaho",
                          "type": "STATE",
                          "capabilityOverrides": {
                            "engagementTypes": []
                          }
                        },
                        {
                          "code": "IL",
                          "name": "Illinois",
                          "type": "STATE"
                        },
                        {
                          "code": "IN",
                          "name": "Indiana",
                          "type": "STATE"
                        },
                        {
                          "code": "KS",
                          "name": "Kansas",
                          "type": "STATE"
                        },
                        {
                          "code": "KY",
                          "name": "Kentucky",
                          "type": "STATE"
                        },
                        {
                          "code": "LA",
                          "name": "Louisiana",
                          "type": "STATE"
                        },
                        {
                          "code": "MA",
                          "name": "Massachusetts",
                          "type": "STATE"
                        },
                        {
                          "code": "MD",
                          "name": "Maryland",
                          "type": "STATE"
                        },
                        {
                          "code": "ME",
                          "name": "Maine",
                          "type": "STATE",
                          "capabilityOverrides": {
                            "engagementTypes": []
                          }
                        },
                        {
                          "code": "MI",
                          "name": "Michigan",
                          "type": "STATE"
                        },
                        {
                          "code": "MN",
                          "name": "Minnesota",
                          "type": "STATE"
                        },
                        {
                          "code": "MO",
                          "name": "Missouri",
                          "type": "STATE"
                        },
                        {
                          "code": "MS",
                          "name": "Mississippi",
                          "type": "STATE"
                        },
                        {
                          "code": "MT",
                          "name": "Montana",
                          "type": "STATE"
                        },
                        {
                          "code": "NC",
                          "name": "North Carolina",
                          "type": "STATE"
                        },
                        {
                          "code": "ND",
                          "name": "North Dakota",
                          "type": "STATE",
                          "capabilityOverrides": {
                            "engagementTypes": []
                          }
                        },
                        {
                          "code": "NE",
                          "name": "Nebraska",
                          "type": "STATE"
                        },
                        {
                          "code": "NH",
                          "name": "New Hampshire",
                          "type": "STATE"
                        },
                        {
                          "code": "NJ",
                          "name": "New Jersey",
                          "type": "STATE"
                        },
                        {
                          "code": "NM",
                          "name": "New Mexico",
                          "type": "STATE"
                        },
                        {
                          "code": "NV",
                          "name": "Nevada",
                          "type": "STATE"
                        },
                        {
                          "code": "NY",
                          "name": "New York",
                          "type": "STATE"
                        },
                        {
                          "code": "OH",
                          "name": "Ohio",
                          "type": "STATE"
                        },
                        {
                          "code": "OK",
                          "name": "Oklahoma",
                          "type": "STATE"
                        },
                        {
                          "code": "OR",
                          "name": "Oregon",
                          "type": "STATE"
                        },
                        {
                          "code": "PA",
                          "name": "Pennsylvania",
                          "type": "STATE"
                        },
                        {
                          "code": "RI",
                          "name": "Rhode Island",
                          "type": "STATE"
                        },
                        {
                          "code": "SC",
                          "name": "South Carolina",
                          "type": "STATE"
                        },
                        {
                          "code": "SD",
                          "name": "South Dakota",
                          "type": "STATE"
                        },
                        {
                          "code": "TN",
                          "name": "Tennessee",
                          "type": "STATE"
                        },
                        {
                          "code": "TX",
                          "name": "Texas",
                          "type": "STATE"
                        },
                        {
                          "code": "UT",
                          "name": "Utah",
                          "type": "STATE"
                        },
                        {
                          "code": "VA",
                          "name": "Virginia",
                          "type": "STATE"
                        },
                        {
                          "code": "VT",
                          "name": "Vermont",
                          "type": "STATE"
                        },
                        {
                          "code": "WA",
                          "name": "Washington",
                          "type": "STATE"
                        },
                        {
                          "code": "WI",
                          "name": "Wisconsin",
                          "type": "STATE"
                        },
                        {
                          "code": "WV",
                          "name": "West Virginia",
                          "type": "STATE",
                          "capabilityOverrides": {
                            "engagementTypes": []
                          }
                        },
                        {
                          "code": "WY",
                          "name": "Wyoming",
                          "type": "STATE",
                          "capabilityOverrides": {
                            "engagementTypes": []
                          }
                        }
                      ],
                      "meta": {
                        "items": 100,
                        "count": 51,
                        "page": 1,
                        "pages": 1,
                        "firstUrl": "/v0.1/hiring/countries/US/subdivisions?page=1&perPage=100",
                        "lastUrl": "/v0.1/hiring/countries/US/subdivisions?page=1&perPage=100",
                        "pageUrl": "/v0.1/hiring/countries/US/subdivisions?page=1&perPage=100",
                        "nextUrl": "/v0.1/hiring/countries/US/subdivisions?page=&perPage=100",
                        "prevUrl": "/v0.1/hiring/countries/US/subdivisions?page=&perPage=100"
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/subdivisions"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "422": {
            "description": "Country is not available for hiring",
            "content": {
              "application/json": {
                "examples": {
                  "Invalid or unknown country code": {
                    "value": {
                      "errors": [
                        {
                          "field": "countryCode",
                          "message": "XX is not a valid ISO country code"
                        }
                      ]
                    }
                  },
                  "Country is not available for hiring": {
                    "value": {
                      "errors": [
                        {
                          "message": "Country is not available for hiring"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/errors"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.oysterhr.com",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.oysterhr.com",
      "description": "Sandbox server"
    }
  ]
}
```