FoxData Open API
My License
My License
  1. I. Quick Start
  • I. Quick Start
    • 1. API Overview
    • 2. Quick Start
    • 3. Authorization
    • 4. Request & Response
    • 5. Rate Limiting
  • II. List of Interfaces
    • 1. Basic Application Services
      • 1001-App Info
      • 1002-App Extension Info
      • 1003-Developer App
      • 1004-App Rank History
      • 1005-Recommend Record
      • 1006-App Rating Comment
      • 1007-App Versions
      • 1008-App Competitors
    • 2. Application Data Analysis
      • 2001-Visibility History
      • 2002-App Competitors Info
      • 2003-Keywords Metrics
      • 2004-Keywords Explore
      • 2005-ASA Keywords
      • 2006-App CPP
      • 2007-App Tag
      • 2008-App Download/Revenue
      • 2009-Recommend Keywords
      • 2010-App UserActive
      • 2011-App Info
    • 3. Ranking Trend Analysis
      • 3001-Ranking Explore
      • 3002-Global Ranking
      • 3003-Volume Ranking
      • 3004-Download/Revenue Ranking
      • 3005-Active Ranking
      • 3006-App Release Info
      • 3007-Clear Keywords
      • 3008-Clear Ranking
    • 4. Ad Creative Analysis
      • 4001-Asa App
      • 4002-Ad ASA Keywords
      • 4003-ASA App Info
      • 4004-Cpp Ad
    • 5. ASA Real-Time Monitoring
      • 5001-ASA Task Initiation (Periodic)
      • 5001-ASA Task Query (Periodic)
      • 5001-ASA Task Results (Periodic)
    • 6. Other Services
      • 6001-App Search
      • 6002-Ai Push Keywords
      • 9001 - Paginated Query Interface
  • III. Data Dictionary and Definitions
    • 1. Application Classification Code
    • 2. Time and Location Information
    • 3. Regional Language Comparison Chart
    • 4. Explanation of Data Update Frequency
  • IV. Appendix
    • 1. Release Notes
    • 2. FAQ
    • 3. Contact and Support
  1. I. Quick Start

3. Authorization

Authentication and Authorization#

This section explains the authentication methods, authorization scope, and security best practices for the FoxData API, helping callers integrate with the API correctly and securely.

1. Authentication Methods#

The FoxData API currently uses API Key (request header) authentication.
Header Name: x-openapi-key
Header Value: <YOUR_LICENSE> (obtained from the Personal Center or by contacting Sales)
All endpoints requiring authentication must include this request header; otherwise, access will be denied.

2. Obtaining and Managing API Keys#

How to Obtain#

Copy or modify the API Key in the FoxData Personal Center, or contact our sales team to have one assigned after activation

3. Explanation of Empty Data#

When no data is available based on the query criteria, the following typically occurs:
code remains a success status (e.g., 200)
data.result returns an empty array [] or an empty object {} (subject to the API definition)
This is not considered an API exception

4. Pagination Interface Description#

Some interfaces return data.next, which is used to fetch the next page of data:
“next”: {
  “taskId”: “...”,
  “pageKey”: “2”
}
When next is null, it indicates there is no next page of data, and the query ends.
The next page can be retrieved using (as shown in the documentation):
GET /common/next-page?taskId={taskId}&pageKey={pageKey}

5. General Error Codes#

This section describes the business error codes for the FoxData API (which differ from HTTP status codes). When a request fails, please prioritize troubleshooting based on the code and msg fields.

Error Code Table#

CodeCode DescriptionNotes (Common Causes/Tips)
200Request Successful-
100Parameter ErrorInvalid parameter format / Missing required parameters / Type mismatch
401Missing API Keyx-openapi-key request header omitted
403Invalid API KeyAPI Key is invalid/disabled/has been rotated
429API ThrottledAPI access exceeded QPS threshold
510System ErrorCommon in data synchronization error scenarios
60003Daily Call Limit ReachedReached daily quota limit
60004Per-Minute Call Limit ReachedReached per-minute quota/QPS limit
60005Insufficient credit balanceCurrent remaining credit is insufficient to complete this call
60006Credit deduction errorDeduction failed/accounting error (please retry later or contact support)
60008No data availableTask data has not been fully processed or no data is currently available to return

Example Failure Responses (Structure)#

Example: Missing API Key (401)
{
  “code”: 401,
  “msg”: “Missing API Key”,
  “data”: null
}
Example: Insufficient Credit Balance (60005)
{
  “code”: 60005,
  “msg”: “Insufficient points balance”,
  “data”: null
}
Example: No data available (60008)
{
  “code”: 60008,
  “msg”: “No data available”,
  “data”: null
}
Note: In case of failure, data may be null, {}, or []; refer to the specific API response for details. Troubleshooting should prioritize code and msg.

Modified at 2026-03-25 06:37:08
Previous
2. Quick Start
Next
4. Request & Response
Built with