Sign inTry it

Search datasets on Bureau of Transportation Statistics data.

Searches the Bureau of Transportation Statistics data portal (data.bts.gov, Socrata) like its catalog page: dataset title, id, category, last update and link. Up to 20 datasets per call, best match first.

Health unavailableRead-only, no login
Site
Bureau of Transportation Statistics data, United States
Version
v1
Runs, last 7 days
Unavailable
sha256
1d34f81b88db…
Try it nowRuns on Wield's servers. No key, no install.
Try:

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search datasets on Bureau of Transportation Statistics data.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "data.bts.gov/search-open-data",
    "params": {
      "query": "pocket guide to transportation"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/api/catalog/v1?domains&limit&only&q&search_contextSocrata catalog JSON API that the portal's catalog page uses; read-only GET with no key. Restricted to datasets on this domain.

Parameters

from your agent
querystringrequiredWords to search datasets for, e.g. 'pocket guide to transportation'

Returns

to your agent
datasetsobject[]category, dataset_id, tags, title, updated_at, url
querystring
totalinteger

Where it can send

  • data.bts.gov

Anything else is blocked by the extension.

Reads from your session

Nothing. Your browser attaches the site's cookies by itself.

Used only in requests to the addresses on the left. Never sent to wield.run or your agent.

Checks

a run passes when
  • length(output.datasets) > `0`
  • length(output.datasets[?title != `null`]) == length(output.datasets)
  • length(output.datasets[?starts_with(url, 'https://data.bts.gov/')]) == length(output.datasets)

Raw recipe

Served as canonical JSON from /api/v1/recipes/data.bts.gov/search-open-data, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/data.bts.gov/search-open-data | shasum -a 256
# 1d34f81b88dbe9dd2e5deb2071e2c21f8c7da7a24b87a8a9874e8f4ad726e613
data.bts.gov/search-open-data.json, v1
{
  "description": "Searches the Bureau of Transportation Statistics data portal (data.bts.gov, Socrata) like its catalog page: dataset title, id, category, last update and link. Up to 20 datasets per call, best match first.",
  "effect": "read",
  "id": "data.bts.gov/search-open-data",
  "keywords": [
    "bureau of transportation statistics data",
    "data.bts.gov",
    "open data",
    "datasets",
    "government data",
    "public records",
    "statistics",
    "socrata",
    "pocket guide to transportation",
    "monthly transportation statistics",
    "transportation",
    "aviation",
    "ferry",
    "ports"
  ],
  "output": {
    "schema": {
      "properties": {
        "datasets": {
          "items": {
            "properties": {
              "category": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataset_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tags": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "title": {
                "type": "string"
              },
              "updated_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "query": {
          "type": "string"
        },
        "total": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "query",
        "datasets"
      ],
      "type": "object"
    },
    "value": "{query: params.query, total: steps.search.total || `null`, datasets: steps.search.items[?title != `null` && url != `null`].{title: title, dataset_id: dataset_id || `null`, category: category || `null`, tags: (tags || `[]`)[:8], updated_at: updated_at || `null`, url: url}}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Words to search datasets for, e.g. 'pocket guide to transportation'",
        "maxLength": 200,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "Socrata's catalog API restricted to data.bts.gov (63+ datasets in the central catalog). Verified live with the portal's three most used tags.",
    "recorded_at": "2026-11-08T17:49:01.619Z",
    "recorded_by": "wield-forge family socrata (template from data.cityofchicago.org)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "US",
    "id": "data.bts.gov",
    "language": "en",
    "name": "Bureau of Transportation Statistics data",
    "origin": "https://data.bts.gov",
    "origins": [
      "https://data.bts.gov"
    ]
  },
  "steps": [
    {
      "description": "Socrata catalog JSON API that the portal's catalog page uses; read-only GET with no key. Restricted to datasets on this domain.",
      "expect": {
        "assert": "status == `200` && type(body.results) == 'array'",
        "content_type": "json",
        "status": [
          200
        ]
      },
      "extract": {
        "json": {
          "items": "results[].{title: resource.name, dataset_id: resource.id, url: permalink, category: classification.domain_category, updated_at: resource.updatedAt, tags: classification.domain_tags}",
          "total": "resultSetSize"
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "application/json"
        },
        "method": "GET",
        "query": {
          "domains": "data.bts.gov",
          "limit": "20",
          "only": "datasets",
          "q": "{{params.query}}",
          "search_context": "data.bts.gov"
        },
        "url": "/api/catalog/v1"
      }
    }
  ],
  "task": "Search datasets on Bureau of Transportation Statistics data",
  "tos": {
    "notes": "Not reviewed. Public open-data catalogue; one API search per call. Dataset licences vary: check each dataset's terms.",
    "reviewed": false
  },
  "verify": {
    "checks": [
      "length(output.datasets) > `0`",
      "length(output.datasets[?title != `null`]) == length(output.datasets)",
      "length(output.datasets[?starts_with(url, 'https://data.bts.gov/')]) == length(output.datasets)"
    ],
    "example_params": {
      "query": "pocket guide to transportation"
    },
    "max_ms": 5000
  },
  "version": 1
}