API reference: Companies
Get a company profile
GET
https://dev.siteswap.pro/api/v1/companies/{slug}A company's public profile: only what its page shows. A company that changed its address is found by the old one too. 404 for a suspended or closed company.
Needs the listings:read scope.
Needs an API key or sign-in token in Authorization: Bearer or X-API-Key. Authentication
Path parameters
slugstringrequiredThe company's slug
Responses
200OK
400bad_request, key_in_url or invalid_json: the request could not be read
401missing_key or invalid_key: no key, or a key that is not valid or was revoked
403key_pending, key_declined, scope_missing, terms_required or account_unavailable: see Errors
404not_found: nothing here that you may see
413too_large: the body is over 256 KB
429rate_limited or daily_quota: wait for Retry-After seconds
Response fields
slugstringrequiredThe company's address on SiteSwap,
/c/{slug}namestringrequiredkindstringrequiredWhat kind of company, for example
contractor or supplierurlstringrequiredIts public page
citystring | nullrequiredIts town
regionstring | nullrequiredIts state
aboutstring | nullrequiredWhat it says about itself
websitestring | nullrequiredphonestring | nullrequiredA phone number it chose to show
emailstring | nullrequiredAn address it chose to show
founded_yearinteger | nullrequiredThe year it started
service_milesinteger | nullrequiredHow far it works
logostring | nullrequiredIts logo
live_listingsintegerrequiredListings that are live now
member_sincestringrequiredWhen it joined SiteSwap. ISO 8601 in UTC
SiteSwap API v1Support