{"name":"Canada.ca Search API","description":"Search results on canada.ca, with description and title fields.","api_id":"generated_9f74c93c1f2b1943c40c7448","slug":"canada-ca-search-api","source":{"name":"Canada","domain":"canada.ca","url":"https://www.canada.ca/"},"category":"jobs","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-11-18","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-11-17T16:46:19.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_9f74c93c1f2b1943c40c7448_search","name":"Extract records","description":"Return records within the accepted scope.","definition_version":"c47316d4cabeaa7c16b39a181fad6ec1972c8cb7fafa6bb3a5229912d2682928","method":"POST","path":"/v1/catalog/public/apis/generated_9f74c93c1f2b1943c40c7448/endpoints/generated_9f74c93c1f2b1943c40c7448_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_9f74c93c1f2b1943c40c7448/endpoints/generated_9f74c93c1f2b1943c40c7448_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"collection":{"type":"string","enum":["Jobs and the workplace","Immigration and citizenship"],"description":"Choose an independently verified source collection/filter route. Omit it to read the pasted collection itself."}},"required":[],"additionalProperties":false},"output_schema":{"type":"object","additionalProperties":false,"required":["title","url"],"properties":{"description":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"}}},"examples":[{"kind":"saved_validation_records","saved_at":"2026-11-17T16:46:19.514Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"description":"Find training programs, apply for student aid, support for skilled trade apprenticeships. Explore career options. Validate your foreign credentials.","title":"Get training","url":"https://www.canada.ca/content/canadasite/en/services/jobs/training.html"},{"description":"Funding and financial support, workforce retention and retraining program, resources to navigate US tariffs.","title":"Support for businesses impacted by tariffs","url":"https://www.canada.ca/content/canadasite/en/campaign/canadastrong/businesses-industries.html"}]}],"request_example":{"body":{"input":{"collection":"Jobs and the workplace"},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_9f74c93c1f2b1943c40c7448/endpoints/generated_9f74c93c1f2b1943c40c7448_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {\n    \"collection\": \"Jobs and the workplace\"\n  },\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_9f74c93c1f2b1943c40c7448/endpoints/generated_9f74c93c1f2b1943c40c7448_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/canada-ca-search-api/","markdown":"https://cleanedweb.com/catalog/canada-ca-search-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_9f74c93c1f2b1943c40c7448/endpoints/generated_9f74c93c1f2b1943c40c7448_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/canada-ca-search-api/","markdown":"https://cleanedweb.com/catalog/canada-ca-search-api/index.md","contract":"https://cleanedweb.com/catalog/canada-ca-search-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
