Menu

API Overview

AdsPower supports Local API function to help users programmatically users read and write profile configuration information, as well as creating, closing, and querying profiles and other basic API functions. You can also configure automation tools such as Selenium and Puppeteer to automate browser operations.


How to Use AdsPower Local API

1. Preparation:

  • Purchased the paid version of AdsPower are granted permission to use the API.
  • Check if the interface status is normal, the default access address of API interface is http://local.adspower.net:50325/ or http://localhost:50325/, you can read the "local_api" file to get the interface access address through script.

“local_api" file directory:

MacOS:

LinuxOS: ~/.config/adspower_global/cwd_global/source/local_api

2. Parameter description:

  • API parameter type: string
  • Post format: JSON
  • Unnecessary parameters are optional

3. Access frequency limit:

The frequency limit below only applies to patch version v2.8.2.1 and plus

Profile numberFrequency limit
0~2002 times/sec
200~50005 times/sec
>500010 times/sec


For requests below, the limit is 1 time/sec:

4. Note

  • It supports the mode of no-interface api-key to start the Local API service. For details, see: Help center
  • When enabling security verification, API Key authentication is required for all calls.

  • The API authorization method uses an AUTHORIZATION Bearer Token, which involves adding the header value  header['Authorization']: Bearer xxxxxx Code examples for reference
Previous
Overview
Next
Connection Status
Last modified: 2025-11-19Powered by