Skip to Content
CoworkingView Docs
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/health

Find 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

Private offices for 4+ people in Berlin
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.

One space in full (replace <slug>)
curl "https://api.coworkingview.com/v1/properties/<slug>?locale=en"
Map pins inside a viewport
curl "https://api.coworkingview.com/v1/properties/map?locale=en&bbox=13.2,52.4,13.6,52.6"
Spaces within 2 km of a point, nearest first
curl "https://api.coworkingview.com/v1/properties?locale=en&lat=52.52&lng=13.405&radiusMeters=2000&sortBy=distance"
Page 2 of a random list, with the seed from page 1
curl "https://api.coworkingview.com/v1/properties?locale=en&city=berlin&page=2&seed=482913"
Filter options inside Berlin
curl "https://api.coworkingview.com/v1/facets?locale=en&city=berlin"
Price statistics for Berlin
curl "https://api.coworkingview.com/v1/market/rates?locale=en&city=berlin"
Profile of a zone
curl "https://api.coworkingview.com/v1/places/zone/mitte?locale=en"
Profile of an operator (slug from a space's operator.slug)
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 seed for random lists.
  • Cache what you read: Caching.
  • Credit the source: Attribution.
  • The two lead endpoints are not examples to run: see Leads.

On this page