• Services
  • What we do & Sell own
  • Cases
  • We are


Connecting to API in guest mode


PG Real Estate API is used to access site data with the help of RESTful interface. Calling any API method returns data in JSON format. Reference to each API method must contain a unique sequence of characters, called a TOKEN, which serves as an identifier for the session of data transfer. Therefore, the first thing is to get this TOKEN. Otherwise, call to any method returns an error.

Run the following query to get the TOKEN:



In the action is successful, you get the following JSON object:


In other way, ‘errors’ field contains an error message.


Connecting to API in user mode


It is necessary to specify access details of a registered user in get_token query.



The response format is the same as in the guest mode