Fotocasa

get/fotocasa/agency

Request

  • Base URL: https://scrappa.co/api
  • URL: https://scrappa.co/api/fotocasa/agency
  • Auth: API key in header X-API-KEY

Query parameters

client_idstring nullable

Numeric agency.id from a search item.

slugstring nullable

Agency slug for the minisite page.

property_typeinteger nullable

An unknown code is answered upstream with a structurally valid 200 and a zero total, which reads as "this agency has no inventory in vertical 999". Refuse it here instead.

transaction_typeinteger nullable

Numeric transactionType to narrow the inventory. One of the known ids; an unknown code is a 422.

location[]string[]
pageinteger

1-based page number for a client_id inventory. The slug minisite is single-page and ignores this.

sizeinteger

Page size, 1-1000, for a client_id inventory. A page can return one item fewer than requested when a promoted placement takes a slot.

Response

string required

Changes

No recorded changes to this operation across all 3 revisions of this API.