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

4. Request & Response

Request and Response Specifications#

This section describes the request format and response structure conventions for the FoxData API, to facilitate consistent encapsulation, parsing, and debugging by callers.

1. Request Structure#

Request Methods#

All FoxData API data interfaces uniformly use POST.

Request Headers#

Content-Type: application/json
x-openapi-key: <YOUR_LICENSE> (Authorization key; obtain from the Personal Center or by contacting Sales)

Request Body (JSON)#

The request body is a JSON object
Common fields include:
appId: Application identifier (App Store App ID or Google Play package name; refer to the API documentation for specifics)
region: Country/region (e.g., US)
language: Language (e.g., en_US; optional for some APIs)
start / end: Time range (optional for some APIs; format is typically YYYY-MM-DD)
metrics / keywords / competitorIds, etc.: Expanded based on the API scenario

Parameter Naming Conventions#

Parameter names typically use lowerCamelCase, for example: appId, categoryId, pageKey.
Whether a parameter is required, its type, and valid values are subject to the corresponding API documentation.

2. Response Structure#

APIs typically return a standardized JSON structure:
code: Business status code (commonly 200 in examples, indicating success; refer to the actual API for specifics)
msg: Status description (commonly success in examples)
data: Business data body

Common Fields in data#

In most APIs, data typically contains the following (depending on the API):
requestParam: Request parameters returned by the server (for debugging and auditing)
result: Business result (may be an object or an array)
creditsCost: Information on credits consumed by this call
requestCredits / baseCredits / extraCredits / totalCostCredits
next: Pagination information (present in some interfaces)
Example (structure illustration):
{
  “code”: 200,
  “msg”: “success”,
  “data”: {
    “requestParam”: {
      “appId”: “com.moye.shelter”,
      “region”: “US”,
      “language”: “en_US”
    },
    “result”: [],
    “creditsCost”: {
      “requestCredits”: 0,
      “baseCredits”: 10,
      “extraCredits”: 0,
      “totalCostCredits”: 10
    },
    “next”: null
  }
}
Note: code is a business status code and is not the same as an HTTP status code. The mapping between HTTP-layer status codes and the business-layer code depends on your server-side implementation.

Modified at 2026-03-25 06:37:08
Previous
3. Authorization
Next
5. Rate Limiting
Built with