{"api":{"id":"api_b7a07bf1723851a41c510eb9","slug":"brazil-querido-diario-gazettes","name":"Brazil Municipal Gazettes API","description":"Keyword search across the official gazettes of Brazilian cities, newest first: city and state, publication date, edition, links to the gazette PDF and text, and the passages that matched your words.","kind":"ready_made","visibility":"public","domain":"queridodiario.ok.org.br","source_url":"https://queridodiario.ok.org.br/api","category":"government","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":11,"created_at":"2026-12-06T04:45:48.343Z","updated_at":"2026-12-06T04:45:48.343Z","runnable":true},"version":"1.0","contract_hash":"be5536d8753a5bf83dbc0cb0253a74549f38b1fb29c1619be7f715486508fa0f","fields":[{"name":"id","type":"string","description":"Id of the gazette file, taken from its address.","required":true,"coverage":1,"example":"c582e41885704d0cb788139bf8a1f2c5b2987e0d"},{"name":"territory_id","type":"string","description":"IBGE 7-digit code of the city.","required":false,"coverage":1,"example":"3502804"},{"name":"municipality","type":"string","description":"City name.","required":false,"coverage":1,"example":"Araçatuba"},{"name":"state","type":"string","description":"Two-letter state code.","required":false,"coverage":1,"example":"SP"},{"name":"date","type":"date","description":"Publication date of the gazette.","required":false,"coverage":1,"example":"2026-12-05"},{"name":"edition","type":"string","description":"Edition number, when the city gives one.","required":false,"coverage":0.8,"example":"1637"},{"name":"is_extra_edition","type":"boolean","description":"Whether this is an extra edition.","required":false,"coverage":1,"example":false},{"name":"url","type":"url","description":"Link to the gazette PDF.","required":false,"coverage":1,"example":"https://data.queridodiario.ok.org.br/3502804/2026-12-05/c582e41885704d0cb788139bf8a1f2c5b2987e0d.pdf"},{"name":"text_url","type":"url","description":"Link to the gazette's extracted text.","required":false,"coverage":1,"example":"https://data.queridodiario.ok.org.br/3502804/2026-12-05/c582e41885704d0cb788139bf8a1f2c5b2987e0d.txt"},{"name":"scraped_at","type":"datetime","description":"When the project collected the gazette (UTC).","required":false,"coverage":1,"example":"2026-12-05T05:57:40.967Z"},{"name":"excerpts","type":"array","description":"Passages of the gazette that matched the words.","required":false,"coverage":1,"example":["............................................................................ Secretaria Municipal de Administração 16…"]}],"inputs":[{"name":"query","type":"string","description":"Words to find in the gazettes. Put a phrase in quotes, for example \"pregao eletronico\".","example":"licitacao"},{"name":"municipality_id","type":"string","description":"IBGE 7-digit city code to search only that city, for example 3550308 for São Paulo.","example":"3550308"},{"name":"since","type":"string","description":"Only gazettes published on or after this day, as YYYY-MM-DD.","example":"2026-11-01"},{"name":"until","type":"string","description":"Only gazettes published on or before this day, as YYYY-MM-DD."}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"date":{"description":"Publication date of the gazette.","format":"date","type":"string"},"edition":{"description":"Edition number, when the city gives one.","type":"string"},"excerpts":{"description":"Passages of the gazette that matched the words.","type":"array"},"id":{"description":"Id of the gazette file, taken from its address.","type":"string"},"is_extra_edition":{"description":"Whether this is an extra edition.","type":"boolean"},"municipality":{"description":"City name.","type":"string"},"scraped_at":{"description":"When the project collected the gazette (UTC).","format":"date-time","type":"string"},"state":{"description":"Two-letter state code.","type":"string"},"territory_id":{"description":"IBGE 7-digit code of the city.","type":"string"},"text_url":{"description":"Link to the gazette's extracted text.","format":"uri","type":"string"},"url":{"description":"Link to the gazette PDF.","format":"uri","type":"string"}},"required":["id"],"title":"Brazil Municipal Gazettes API","type":"object"},"samples":[{"id":"c582e41885704d0cb788139bf8a1f2c5b2987e0d","territory_id":"3502804","municipality":"Araçatuba","state":"SP","date":"2026-12-05","edition":"1637","is_extra_edition":false,"url":"https://data.queridodiario.ok.org.br/3502804/2026-12-05/c582e41885704d0cb788139bf8a1f2c5b2987e0d.pdf","text_url":"https://data.queridodiario.ok.org.br/3502804/2026-12-05/c582e41885704d0cb788139bf8a1f2c5b2987e0d.txt","scraped_at":"2026-12-05T05:57:40.967Z","excerpts":["............................................................................ Secretaria Municipal de Administração 16 ........................................................................................................................... Licitações e Contratos 16…"]},{"id":"bf31cb7037335d77b97fab7a5bb9f957ff66fa3f","territory_id":"3545209","municipality":"Salto","state":"SP","date":"2026-12-05","edition":"2380","is_extra_edition":false,"url":"https://data.queridodiario.ok.org.br/3545209/2026-12-05/bf31cb7037335d77b97fab7a5bb9f957ff66fa3f.pdf","text_url":"https://data.queridodiario.ok.org.br/3545209/2026-12-05/bf31cb7037335d77b97fab7a5bb9f957ff66fa3f.txt","scraped_at":"2026-12-05T07:47:17.148Z","excerpts":["de Educação ........................................................................................................... EDITAL – PREGÃO ELETRÔNICO Nº 67/2026 PROCESSO ADMINISTRATIVO Nº 4125/2026 SISTEMA DE REGISTRO DE PREÇOS Encontra-se aberta licitação visando a convocação de…"]},{"id":"bbbadc8933d49e63e0bf13396fcf97525dd37fbe","territory_id":"3530706","municipality":"Mogi Guaçu","state":"SP","date":"2026-12-05","edition":"1226","is_extra_edition":false,"url":"https://data.queridodiario.ok.org.br/3530706/2026-12-05/bbbadc8933d49e63e0bf13396fcf97525dd37fbe.pdf","text_url":"https://data.queridodiario.ok.org.br/3530706/2026-12-05/bbbadc8933d49e63e0bf13396fcf97525dd37fbe.txt","scraped_at":"2026-12-05T07:18:00.372Z","excerpts":["a b i t a ç ã o d e Mo g i Guaçu - Proguaçu CNPJ 54.672.845/0001-52 Rua João Persinotti, 38 - Chácara Gonçalo Telefone: (19) 3861-1015 SUMÁRIO Poder Executivo 2 ............................................................................. Licitações e Contratos 2…"]}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"date":1,"edition":1,"excerpts":1,"id":1,"is_extra_edition":1,"municipality":1,"scraped_at":1,"state":1,"territory_id":1,"text_url":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.343Z","activated_at":"2026-12-06T04:45:48.343Z","active":true,"contract_hash":"be5536d8753a5bf83dbc0cb0253a74549f38b1fb29c1619be7f715486508fa0f","fields_count":11}]}