Fotocasa agency listings

GET https://api.api.sh/fotocasa/v1/agency
1 credit / call real estate try it in the playground →

The listings of one Fotocasa agency (its clientId), with the same filters and fields as /fotocasa/v1/search, plus the agency's name, logo, page and phone. Pass next_page back as page; null on the last page.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
idrequired string Agency clientId (advertiser.id in search results, or the number in an agency link). Example: 9202765062251
operation buy | rent | share | holiday | rent_to_buy | transfer Operation. Example: buy
property_type homes | new_homes | garages | land | premises | offices | storage | buildings Property type. Example: homes
sort relevance | newest | price | price_m2 | area | rooms Sort order.
limit integer Results per page, 1-36. Example: 30
page integer Page number, starting at 1. Pass next_page back as page; it is null on the last page. Example: 1

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/fotocasa/v1/agency?id=9202765062251" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.