Source catalog
curl --request GET \
--url https://api.westkite.com/v1/sourcesimport requests
url = "https://api.westkite.com/v1/sources"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.westkite.com/v1/sources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"total": 123,
"offset": 123,
"limit": 123,
"next_offset": 123,
"counts": {
"status": {},
"licence": {}
},
"sources": [
{
"id": "<string>",
"name": "<string>",
"publisher": "<string>",
"url": "<string>",
"provides": "<string>",
"datasets": [
"<string>"
],
"coverage": {
"label": "<string>",
"states": "all",
"counties": [
"<string>"
]
},
"method": "arcgis",
"method_label": "<string>",
"delivery": "stored",
"cadence": "<string>",
"licence": {
"status": "open",
"label": "<string>",
"text": "<string>",
"terms_url": "<string>",
"attribution": "<string>",
"redistribution": "<string>",
"rights_record_on_file": true
},
"status": "served",
"status_label": "<string>",
"reason": "<string>",
"last_load": {
"release": "<string>",
"loaded_at": "2023-11-07T05:31:56Z",
"records": 123
},
"last_check": {
"checked_at": "2023-11-07T05:31:56Z",
"outcome": "<string>"
},
"last_run": {
"run": "build",
"verdict": "pass",
"finished_at": "2023-11-07T05:31:56Z",
"release": "<string>",
"rows": 123,
"failed_checks": [
"<string>"
],
"last_success_at": "2023-11-07T05:31:56Z"
},
"manifest": "<string>"
}
],
"datasets": [
{
"id": "<string>",
"name": "<string>",
"group": "<string>"
}
],
"notes": [
"<string>"
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}Coverage and sources
List sources
Every source West Kite serves, holds or left out, with its publisher, terms and last load. Free, no key.
GET
/
sources
Source catalog
curl --request GET \
--url https://api.westkite.com/v1/sourcesimport requests
url = "https://api.westkite.com/v1/sources"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.westkite.com/v1/sources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"total": 123,
"offset": 123,
"limit": 123,
"next_offset": 123,
"counts": {
"status": {},
"licence": {}
},
"sources": [
{
"id": "<string>",
"name": "<string>",
"publisher": "<string>",
"url": "<string>",
"provides": "<string>",
"datasets": [
"<string>"
],
"coverage": {
"label": "<string>",
"states": "all",
"counties": [
"<string>"
]
},
"method": "arcgis",
"method_label": "<string>",
"delivery": "stored",
"cadence": "<string>",
"licence": {
"status": "open",
"label": "<string>",
"text": "<string>",
"terms_url": "<string>",
"attribution": "<string>",
"redistribution": "<string>",
"rights_record_on_file": true
},
"status": "served",
"status_label": "<string>",
"reason": "<string>",
"last_load": {
"release": "<string>",
"loaded_at": "2023-11-07T05:31:56Z",
"records": 123
},
"last_check": {
"checked_at": "2023-11-07T05:31:56Z",
"outcome": "<string>"
},
"last_run": {
"run": "build",
"verdict": "pass",
"finished_at": "2023-11-07T05:31:56Z",
"release": "<string>",
"rows": 123,
"failed_checks": [
"<string>"
],
"last_success_at": "2023-11-07T05:31:56Z"
},
"manifest": "<string>"
}
],
"datasets": [
{
"id": "<string>",
"name": "<string>",
"group": "<string>"
}
],
"notes": [
"<string>"
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}The Data and coverage guide explains this endpoint in full.