{"description":"Searches the Edmonton open data portal (data.edmonton.ca, 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.edmonton.ca/search-open-data","keywords":["edmonton","data.edmonton.ca","open data","datasets","government data","public records","statistics","socrata","speed check sign","speeding","speed data collection","driver feedback sign","insight community","insight"],"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. 'speed check sign'","maxLength":200,"minLength":2,"type":"string"}},"required":["query"],"type":"object"},"provenance":{"method":"har","notes":"Socrata's catalog API restricted to data.edmonton.ca (264+ datasets in the central catalog). Verified live with the portal's three most used tags.","recorded_at":"2026-11-08T17:47:34.510Z","recorded_by":"wield-forge family socrata (template from data.cityofchicago.org)"},"requires_login":false,"schema":"https://wield.run/schema/recipe/v1.json","site":{"country":"CA","id":"data.edmonton.ca","language":"en","name":"Edmonton open data","origin":"https://data.edmonton.ca","origins":["https://data.edmonton.ca"]},"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.edmonton.ca","limit":"20","only":"datasets","q":"{{params.query}}","search_context":"data.edmonton.ca"},"url":"/api/catalog/v1"}}],"task":"Search datasets on Edmonton open 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.edmonton.ca/')]) == length(output.datasets)"],"example_params":{"query":"speed check sign"},"max_ms":5000},"version":1}