Oklahoma's Open Data
Open data portalsUSdata.ok.gov
Oklahoma's state open data catalogue.
Capabilities (18)
GET /v1/data/data-ok-gov/dataset1 creditFull metadata for one dataset: title, notes, licence, organization, tags, extras and the complete resource list with download URLs and formats.
GET /v1/data/data-ok-gov/dataset-dcat1 creditOne dataset serialised as DCAT-AP RDF in JSON-LD, with dcat:Distribution nodes for each resource (the EU data.europa.eu interchange form rather than CKAN's native shape).
GET /v1/data/data-ok-gov/dataset-names1 creditFlat JSON array of every dataset slug on the portal, in alphabetical order.
GET /v1/data/data-ok-gov/datasets1 creditSolr-backed search over every dataset published on the Latvian open data portal; returns a page of 20 full dataset records plus the total match count and facets.
GET /v1/data/data-ok-gov/dataset-suggest1 creditLightweight typeahead: matching datasets as {name, title, match_field} objects, no resources or descriptions.
GET /v1/data/data-ok-gov/group1 creditMetadata for one thematic group: title, description, image and dataset count.
GET /v1/data/data-ok-gov/group-datasets1 creditA page of up to 20 full dataset records belonging to one thematic group, with the group's total count.
GET /v1/data/data-ok-gov/groups1 creditEvery thematic group (subject category) on the portal with its name, display title, description and dataset count.
GET /v1/data/data-ok-gov/licenses1 creditEvery licence the portal offers publishers, as {id, title, url, od_conformance, osd_conformance} objects.
GET /v1/data/data-ok-gov/organization1 creditMetadata for one publishing organization: title, description, contact extras, dataset count and (optionally) its datasets.
GET /v1/data/data-ok-gov/organization-datasets1 creditA page of up to 20 full dataset records published by one organization, with the total count for that publisher.
GET /v1/data/data-ok-gov/organizations1 creditEvery publishing organization on the portal with its name, display title, description, image and dataset count.
GET /v1/data/data-ok-gov/resource1 creditMetadata for one file or API endpoint attached to a dataset: download URL, format, size, description and datastore flag.
GET /v1/data/data-ok-gov/resource-rows1 creditUp to 100 parsed rows of a tabular resource straight from CKAN's DataStore, with the column schema and total row count, so no file download or CSV parsing is needed.
GET /v1/data/data-ok-gov/resource-search1 creditSearches resource metadata (not datasets) across the whole portal and returns up to 50 matching resource records with their download URLs.
GET /v1/data/data-ok-gov/site-status1 creditThe portal's CKAN version, site title, locale and the list of installed CKAN extensions.
GET /v1/data/data-ok-gov/tag1 creditThe id, name and vocabulary of one tag, and optionally every dataset carrying it.
GET /v1/data/data-ok-gov/tags1 creditFlat JSON array of every free tag used on the portal.
Response example
The shape of data from data-ok-gov/dataset (Dataset detail). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"help": "https://data.ok.gov/api/3/action/help_show?name=package_show",
"success": true,
"result": {
"author": "",
"author_email": "",
"creator_user_id": "15ec48a2-a28a-47ee-b1b1-75061e14f36c",
"id": "18ada69e-e105-41ce-9884-21605c63b621",
"isopen": false,
"license_id": "",
"license_title": "",
"maintainer": "",
"maintainer_email": "",
"metadata_created": "2026-02-23T18:24:10.770498",
"metadata_modified": "2026-10-21T19:53:08.342668",
"name": "state-of-oklahoma-revolving-funds-2026",
"notes": "A detailed listing of all State of Oklahoma revolving funds and the amount for the fiscal year.",
"num_resources": 8,
"num_tags": 0,
"organization": {
"id": "2fa40142-f869-45c1-877a-6aa7d8bf7e86",
"name": "office-of-management-and-enterprise-services",
"title": "Office of Management and Enterprise Services",
"type": "organization",
"description": "",
"image_url": "https://oklahoma.gov/content/dam/ok/en/omes/images/OMESLogoWeb.png",
"created": "2019-04-24T21:05:44.774389",
"is_organization": true,
"approval_status": "approved",
"state": "active"
},
"owner_org": "2fa40142-f869-45c1-877a-6aa7d8bf7e86",
"private": false,
"state": "active",
"title": "State of Oklahoma Revolving Funds - 2026",
"type": "dataset",
"url": "",
"version": "",
"resources": [
{
"cache_last_updated": null,
"cache_url": null,
"ckan_url": "https://data.ok.gov",
"created": "2026-02-23T18:27:29.352537",
"datastore_active": true,
"datastore_contains_all_records_of_source_file": true,
"description": "A detailed listing of all State of Oklahoma revolving funds and the amount for the fiscal year.",
"format": "CSV",
"hash": "a5ee9ccb2a0c7e8b9b5829173de2560f",
"id": "4d362a33-6c13-4e82-ba00-bcd31a22168b",
"ignore_hash": false,
"is_data_dict_populated": false,
"last_modified": "2026-02-23T18:27:35.218333",
"metadata_modified": "2026-03-12T10:12:49.065140",
"mimetype": null,
"mimetype_inner": null,
"name": "Data - Revolving Funds - January 2026",
"original_url": "https://data.ok.gov/dataset/18ada69e-e105-41ce-9884-21605c63b621/resource/4d362a33-6c13-4e82-ba00-bcd31a22168b/download/ocp_885_gl32808450.csv",
"package_id": "18ada69e-e105-41ce-9884-21605c63b621",
"position": 0,
"resource_id": "4d362a33-6c13-4e82-ba00-bcd31a22168b",
"resource_type": null,
"set_url_type": false,
"size": 243394,
"state": "active",
"task_created": "2026-02-23 18:27:30.363048",
"url": "https://data.ok.gov/dataset/18ada69e-e105-41ce-9884-21605c63b621/resource/4d362a33-6c13-4e82-ba00-bcd31a22168b/download/ocp_885_gl32808450.csv",
"url_type": "upload"
},
{
"cache_last_updated": null,
"cache_url": null,
"ckan_url": "https://data.ok.gov",
"created": "2026-03-12T10:12:49.073457",
"datastore_active": true,
"datastore_contains_all_records_of_source_file": true,
"description": "A detailed listing of all State of Oklahoma revolving funds and the amount for the fiscal year.",
"format": "CSV",
"hash": "990ccba4928bf7dfb27b4c6410641d7f",
"id": "120c9d03-e7e9-491f-ae24-2ff0cd20a807",
"ignore_hash": false,
"is_data_dict_populated": false,
"last_modified": null,
"metadata_modified": "2026-05-15T13:16:14.308214",
"mimetype": null,
"mimetype_inner": null,
"name": "Data - Revolving Funds - February 2026",
"original_url": "https://data.ok.gov/dataset/18ada69e-e105-41ce-9884-21605c63b621/resource/120c9d03-e7e9-491f-ae24-2ff0cd20a807/download/ocp_885_2026_02.csv",
"package_id": "18ada69e-e105-41ce-9884-21605c63b621",
"position": 1,
"resource_id": "120c9d03-e7e9Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Dataset detail
Use Oklahoma's Open Data (data-ok-gov) from fastCRW Pergamon, capability "Dataset detail" (dataset). You already have a dataset name or UUID from a search and need its resources, licence or full description. Example options: id=state-of-oklahoma-revolving-funds-2026. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-ok-gov" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset as DCAT-AP JSON-LD
Use Oklahoma's Open Data (data-ok-gov) from fastCRW Pergamon, capability "Dataset as DCAT-AP JSON-LD" (dataset-dcat). You are feeding a European data catalogue or an RDF pipeline and want standards-shaped metadata instead of CKAN's package dict. Example options: id=state-of-oklahoma-revolving-funds-2026. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-ok-gov" and capability "dataset-dcat". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
All dataset names
Use Oklahoma's Open Data (data-ok-gov) from fastCRW Pergamon, capability "All dataset names" (dataset-names). You want the complete inventory of dataset ids to iterate over, rather than a scored search page. Example options: limit=100, offset=0. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-ok-gov" and capability "dataset-names". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset search
Use Oklahoma's Open Data (data-ok-gov) from fastCRW Pergamon, capability "Dataset search" (datasets). You want to find datasets on this portal by keyword, filter, or recency, and you do not already know a dataset id. Example options: q=statistika, fq=res_format:CSV, sort=metadata_modified desc. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-ok-gov" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Licence
Dataset records on this portal declare the licence "Creative Commons Attribution" (http://www.opendefinition.org/licenses/cc-by). This is the licence the publishing organisations attach to their own datasets; the portal itself states no separate API licence. Quoted as found in the portal's own dataset metadata.
http://www.opendefinition.org/licenses/cc-byAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: Oklahoma's Open Data (State of Oklahoma). Data published by the portal's contributing organisations.
Cache: up to 3600s
