Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

JamBase Geographies API

Lookup Countries, Cities, Etc

JamBase Geographies API is one of 7 APIs that JamBase publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Geographies. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, pricing, rate-limit docs, and 1 JSON Schema.

This API exposes 4 operations across 4 paths, and defines 15 schemas. It is described by OpenAPI 3.1.0, at version 3.1.0.

Requests are made against a single base URL, https://api.data.jambase.com/v3.

4 operations 4 paths 15 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.1.0
Base URL
https://data.jambase.com/v3
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

JamBase Geographies API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — API key as Bearer token. Get your key from your account dashboard.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

Geographies 4

Lookup Countries, Cities, Etc

GET
/geographies/cities
Search Cities
searchCities 13 params → 200400401
GET
/geographies/metros
Get Metros
getMetros 3 params → 200400403
GET
/geographies/states
Get States / Regions / Provinces
getStates 3 params → 200400403
GET
/geographies/countries
Get Countries
getCountries 1 param → 200400403

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are City (8 properties), AdministrativeArea (8 properties), State (6 properties), Pagination (6 properties). Each schema is shown below with its type and property counts.

City
object
A city or locality
8 properties
propLatitude
number
The latitude of a location
GeoCoordinates
object
The latitude and longitude for a place
3 properties
Request
object
Enclosure for request details.
5 properties
Pagination
object
Enclosure for pagination values.
6 properties
propLongitude
number
The longitude of a location
enumRadiusUnits
string
The units of measure for a geo search radius
State
object
A State, Region, or Province. \ Note 1: Available for United States, Canada, and Australia only. \ Note 2: The country and x-numUpcomingEvents nodes are only p…
6 properties
Country
object
A Country.
5 properties
enumCountryIso2
string
The Country code in ISO 3166-1 alpha-2 format [[docs](https://en.wikipedia.org/wiki/ISO3166-1alpha-2)].
ErrorsList
array
A list of errors
enumCountryIso3
string
The Country code in ISO 3166-1 alpha-3 format [[docs](https://en.wikipedia.org/wiki/ISO3166-1alpha-3)].
enumState
string
A State code in ISO 3166-2 format [[docs](https://en.wikipedia.org/wiki/ISO3166-2)].
Success
boolean
A successful response.
AdministrativeArea
object
A Metro Area comprised of multiple cities.
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jambase-geographies-api-openapi.yml Raw ↑

Other APIs JamBase publishes across the network.

JamBase Artists API
JamBase Events API
JamBase Genres API
JamBase Lookups API
JamBase Streams API
JamBase Venues API