Skip to content
API documentation
First query

First request

Your first request to the Local API (GET /info)

Code

import requests
import json
 
def get_info(local_api_token, local_api_port):
url = f'http://localhost:{local_api_port}/info'
headers = {
'x-api-key': local_api_token
}
 
    response = requests.get(url, headers=headers)
 
    if response.status_code == 200:
        return response.json()
    else:
        return {'error': 'Unable to fetch data', 'status_code': response.status_code}
 
# These two values you can get in the Dashboard options.
 
local_api_token = 'FA70fE'
local_api_port = 56789
 
info = get_info(local_api_token, local_api_port )
print(json.dumps(info, indent=3))
 

In the response of this request, you will receive:

  • Allowed number of profiles for your subscription
  • Allowed number of proxies for your subscription
  • Current number of profiles for your subscription
  • Current number of proxies for your subscription
  • Date and time when your subscription ends
  • Chromedriver file path

Example of an answer

{
   "limits": {
      "profiles": 350,
      "proxies": 260
   },
   "counters": {
      "profiles": 127,
      "proxies": 22
   },
   "subscriptionExpired": "2026-06-04T23:59:59.999Z",
   "driverPath": "C:\\Users\\Black Power\\AppData\\Roaming\\0detect browser\\Zorro\\chromedriver.exe"
}