Overview
The Geomark Web Service allows you to create and share geographic areas of interest over the web in a variety of formats and coordinate systems. This service is especially helpful when you need to share an area of interest with people who require that the data be in a different format, or they use different mapping software. Please note that you may experience issues when submitting requests to the delivery or test environment if using this [OpenAPI specification](https://github.com/bcgov/api-specs/tree/master/geomark) in other API console viewers.
GeoMark Web Service REST API is an open data API from gov.bc.ca. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 7 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Open Data
- Base URL
https://apps.gov.bc.ca/pub/geomark- Version
- 4.1.2
- Endpoints
- 7
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://apps.gov.bc.ca/pub/geomark/geomarks/GEOMARKID.FILEFORMATEXTENSION" \
-H "Accept: application/json"const response = await fetch("https://apps.gov.bc.ca/pub/geomark/geomarks/GEOMARKID.FILEFORMATEXTENSION", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://apps.gov.bc.ca/pub/geomark/geomarks/GEOMARKID.FILEFORMATEXTENSION",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /geomarks/copy | Create a new geomark by copying the geometries from one or more existing geomarks from the current server. |
| POST | /geomarks/new | Create a new geomark |
| GET | /geomarks/{geomarkId}.{fileFormatExtension} | Get information about a particular geomark |
| GET | /geomarks/{geomarkId}/boundingBox.{fileFormatExtension} | Gets the bounding box of the geomark |
| GET | /geomarks/{geomarkId}/feature.{fileFormatExtension} | Get the feature and attribution of the geomark |
| GET | /geomarks/{geomarkId}/parts.{fileFormatExtension} | Get the individual geometries within a multi-part geometry |
| GET | /geomarks/{geomarkId}/point.{fileFormatExtension} | Gets a single spatial point representative of the geomark. |
Questions
Does the GeoMark Web Service REST API API need an API key?
No. The GeoMark Web Service REST API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the GeoMark Web Service REST API API support HTTPS?
Yes, the GeoMark Web Service REST API API is served over HTTPS.
How many endpoints does the GeoMark Web Service REST API API have?
Its OpenAPI description lists 7 endpoints in version 4.1.2. All of them are shown on this page.
What are alternatives to the GeoMark Web Service REST API API?
Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.
Similar open data APIs
Compare alternatives →Search Services
Open DataAPI for Internet Archive's Search-related services
Wayback API
Open DataAPI for Internet Archive's Wayback Machine
Wikipedia
Open DataMediawiki Encyclopedia
Nasdaq Data Link
Open DataThe source for financial, economic, and alternative datasets, serving investment professionals.
University of Oslo
Open DataCourses, lecture videos, detailed information for courses etc. for the University of Oslo (Norway)
Data API
Open DataServes the Clever Data API
Listed from APIs.guru (CC0).