{"api":{"id":"api_ac5bc71375f14cf90c3be04f","slug":"chain-store-openings-closures","name":"Chain Store Openings & Closures","description":"New, closed and moved locations of a store, restaurant or fuel chain, found by comparing All the Places' latest weekly open data with an earlier week: brand, store number, name, address, city, country and coordinates.","kind":"ready_made","visibility":"public","domain":"alltheplaces.xyz","source_url":"https://data.alltheplaces.xyz/runs/history.json","category":"places","record_type":"place","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":13,"created_at":"2026-12-06T03:57:27.624Z","updated_at":"2026-12-06T03:57:27.624Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"The location's id with the kind of change, such as <location id>:opened.","required":true,"coverage":1,"example":"anHt8IUF_xbVHCzfHX7Smwf6eSI=:opened"},{"name":"brand","type":"string","description":"Brand name, such as Five Guys.","required":false,"coverage":1,"example":"A&W"},{"name":"brand_file","type":"string","description":"The weekly brand file the location comes from, such as five_guys_ca.","required":false,"coverage":1,"example":"albert_and_walter"},{"name":"change","type":"string","description":"opened (new since the earlier run), closed (gone since the earlier run) or moved.","required":false,"coverage":1,"example":"opened"},{"name":"store_ref","type":"string","description":"The chain's own store number or code.","required":false,"coverage":1,"example":"1076"},{"name":"name","type":"string","description":"Name of the location as the chain lists it.","required":false,"coverage":1,"example":"2nd Street"},{"name":"address","type":"string","description":"Street address as the chain lists it.","required":false,"coverage":1,"example":"616 2nd Street West"},{"name":"city","type":"string","description":"City or town.","required":false,"coverage":1,"example":"Brooks"},{"name":"country","type":"string","description":"Two-letter country code, such as CA.","required":false,"coverage":1,"example":"CA"},{"name":"latitude","type":"number","description":"Latitude in decimal degrees (the new place for a moved location).","required":false,"coverage":1,"example":50.572823},{"name":"longitude","type":"number","description":"Longitude in decimal degrees (the new place for a moved location).","required":false,"coverage":1,"example":-111.89701},{"name":"first_seen_run","type":"string","description":"The weekly run where the location first shows in this comparison (the earlier run for closed and moved, the latest for opened).","required":false,"coverage":1,"example":"2026-11-28-13-32-35"},{"name":"last_seen_run","type":"string","description":"The weekly run where the location last shows (the earlier run for closed, the latest for opened and moved).","required":false,"coverage":1,"example":"2026-11-28-13-32-35"}],"inputs":[{"name":"brands","type":"array","description":"Chains to compare: brand file names such as five_guys_ca, brand names such as Five Guys, or Wikidata IDs such as Q1131810.","example":["five_guys_ca"],"required":true},{"name":"weeks_back","type":"integer","description":"Compare the latest weekly run with the run this many weeks earlier (1 to 26).","default":4,"example":4},{"name":"countries","type":"array","description":"Only locations in these countries, as two-letter codes such as CA or US; leave empty for every country.","example":["CA"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"address":{"description":"Street address as the chain lists it.","type":"string"},"brand":{"description":"Brand name, such as Five Guys.","type":"string"},"brand_file":{"description":"The weekly brand file the location comes from, such as five_guys_ca.","type":"string"},"change":{"description":"opened (new since the earlier run), closed (gone since the earlier run) or moved.","type":"string"},"city":{"description":"City or town.","type":"string"},"country":{"description":"Two-letter country code, such as CA.","type":"string"},"first_seen_run":{"description":"The weekly run where the location first shows in this comparison (the earlier run for closed and moved, the latest for opened).","type":"string"},"id":{"description":"The location's id with the kind of change, such as <location id>:opened.","type":"string"},"last_seen_run":{"description":"The weekly run where the location last shows (the earlier run for closed, the latest for opened and moved).","type":"string"},"latitude":{"description":"Latitude in decimal degrees (the new place for a moved location).","type":"number"},"longitude":{"description":"Longitude in decimal degrees (the new place for a moved location).","type":"number"},"name":{"description":"Name of the location as the chain lists it.","type":"string"},"store_ref":{"description":"The chain's own store number or code.","type":"string"}},"required":["id"],"title":"Chain Store Openings & Closures","type":"object"},"samples":[{"id":"anHt8IUF_xbVHCzfHX7Smwf6eSI=:opened","brand":"A&W","brand_file":"albert_and_walter","change":"opened","store_ref":"1076","name":"2nd Street","address":"616 2nd Street West","city":"Brooks","country":"CA","latitude":50.572823,"longitude":-111.89701,"first_seen_run":"2026-11-28-13-32-35","last_seen_run":"2026-11-28-13-32-35"},{"id":"b_Qc7y1MFQl4hU9FT2yBkZRILqE=:opened","brand":"A&W","brand_file":"albert_and_walter","change":"opened","store_ref":"3003","name":"Hwy 7 Stony Mountain","address":"70 001 PTH 7 ESR","city":"Rosser","country":"CA","latitude":50.0255,"longitude":-97.4569,"first_seen_run":"2026-11-28-13-32-35","last_seen_run":"2026-11-28-13-32-35"},{"id":"ok39D4Gp1XjVBXpao5_OqNUXDSY=:opened","brand":"A&W","brand_file":"albert_and_walter","change":"opened","store_ref":"4055","name":"PC Terry Fox Kanata","address":"570 Terry Fox Drive","city":"Kanata","country":"CA","latitude":45.308559,"longitude":-75.915591,"first_seen_run":"2026-11-28-13-32-35","last_seen_run":"2026-11-28-13-32-35"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"address":1,"brand":1,"brand_file":1,"change":1,"city":1,"country":1,"first_seen_run":1,"id":1,"last_seen_run":1,"latitude":1,"longitude":1,"name":1,"store_ref":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},"links":{"run":"https://pullrow.dev/v1/apis/api_ac5bc71375f14cf90c3be04f/run","openapi":"https://pullrow.dev/v1/apis/api_ac5bc71375f14cf90c3be04f/openapi.json","contract":"https://pullrow.dev/v1/apis/api_ac5bc71375f14cf90c3be04f/contract.json","page":"https://pullrow.dev/catalog/chain-store-openings-closures"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Changes are worked out by comparing two weekly files of All the Places (an open project, CC-0 waiver, credit appreciated). A location that vanishes may be a closure or a week in which the chain's own store finder lost it, and a new one may be an opening or a store finder that only just added it.","The comparison run is the weekly run closest to the number of weeks asked for (at most 26 weeks back) that holds the same brand file; if it has none, the next older run is used and the record names the runs it compared.","Opening and closing dates are not known, only the two runs: opened locations carry the latest run as first seen, closed ones the older run as last seen.","A location is reported as moved when it keeps its id but its coordinates changed by more than 150 metres; address changes alone are not reported.","A brand file that is missing or empty in either run gives no changes. Chains that rebuild their store finder can show a whole chain as closed and reopened in one week.","At most 10 brand files per run, each up to about 64 MB, and 20,000 changes per run. Brand names match the name on the signs or in Wikidata (ignoring case and punctuation); a Wikidata ID or brand file name is exact.","The source updates weekly; its files are large, so a run on a big chain can take a minute or more."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"The location's id with the kind of change, such as <location id>:opened.","group":"Technical","shown":false,"written":false},{"name":"brand","label":"Brand","description":"Brand name, such as Five Guys.","group":"Basics","shown":true,"written":false},{"name":"brand_file","label":"Brand file","description":"The weekly brand file the location comes from, such as five_guys_ca.","group":"Basics","shown":true,"written":false},{"name":"change","label":"Change","description":"opened (new since the earlier run), closed (gone since the earlier run) or moved.","group":"Basics","shown":true,"written":false},{"name":"store_ref","label":"Store ref","description":"The chain's own store number or code.","group":"Basics","shown":true,"written":false},{"name":"name","label":"Name","description":"Name of the location as the chain lists it.","group":"Basics","shown":true,"written":false},{"name":"address","label":"Address","description":"Street address as the chain lists it.","group":"Location","shown":true,"written":false},{"name":"city","label":"City or town","description":"","group":"Location","shown":true,"written":false},{"name":"country","label":"Country","description":"Two-letter country code, such as CA.","group":"Location","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude in decimal degrees (the new place for a moved location).","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude in decimal degrees (the new place for a moved location).","group":"Location","shown":true,"written":false},{"name":"first_seen_run","label":"First seen run","description":"The weekly run where the location first shows in this comparison (the earlier run for closed and moved, the latest for opened).","group":"Basics","shown":true,"written":false},{"name":"last_seen_run","label":"Last seen run","description":"The weekly run where the location last shows (the earlier run for closed, the latest for opened and moved).","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"brands","label":"Brands","help":"Chains to compare: brand file names such as five_guys_ca, brand names such as Five Guys, or Wikidata IDs such as Q1131810.","example":"five_guys_ca","written":false},{"name":"weeks_back","label":"Weeks back","help":"Compare the latest weekly run with the run this many weeks earlier (1 to 26).","example":"4","written":false},{"name":"countries","label":"Countries","help":"Only locations in these countries, as two-letter codes such as CA or US; leave empty for every country.","example":"CA","written":false}]}},"incidents":[]}