Public API
Examples
Copy-paste requests for the public API in curl, JavaScript and Python: health, geography, search, listings, detail, market rates and profiles.
Every recipe here is a GET against https://api.coworkingview.com, with no API key. They use berlin and mitte, which exist in the catalogue. For anything else, take real slugs from /v1/geo/bootstrap or /v1/search/suggest. Where a recipe needs a space slug, it shows <slug>: replace it with one from a list response.
Check the API and read the rate-limit headers
-i prints the response headers. The RateLimit-* headers tell you how much of your allowance is left; see Limits.
curl -i https://api.coworkingview.com/v1/healthFind your slugs
curl "https://api.coworkingview.com/v1/geo/bootstrap?locale=en"
curl "https://api.coworkingview.com/v1/search/suggest?locale=en&q=mitte&limit=5"List spaces, then open one
Take a slug from the list and pass it to the detail call.
The same request in three languages
curl "https://api.coworkingview.com/v1/properties?locale=en&city=berlin&pricingOptionType=private_office&minCapacity=4&pageSize=2"More recipes
All with curl; change the call into JavaScript or Python the same way as above.
curl "https://api.coworkingview.com/v1/properties/<slug>?locale=en"curl "https://api.coworkingview.com/v1/properties/map?locale=en&bbox=13.2,52.4,13.6,52.6"curl "https://api.coworkingview.com/v1/properties?locale=en&lat=52.52&lng=13.405&radiusMeters=2000&sortBy=distance"curl "https://api.coworkingview.com/v1/properties?locale=en&city=berlin&page=2&seed=482913"curl "https://api.coworkingview.com/v1/facets?locale=en&city=berlin"curl "https://api.coworkingview.com/v1/market/rates?locale=en&city=berlin"curl "https://api.coworkingview.com/v1/places/zone/mitte?locale=en"curl "https://api.coworkingview.com/v1/operators/<slug>?locale=en"Before you ship
- Handle non-200 answers: see Errors.
- Walk result sets with Pagination, and pin the
seedfor random lists. - Cache what you read: Caching.
- Credit the source: Attribution.
- The two lead endpoints are not examples to run: see Leads.