Archive

The /archive resource provides access to raw report data. At this time raw reports are only available for Apple apps (via iTunes Connect)
Scope: All of the resources in this route require read access in the private scope (private:read).

Getting All Report Listings

Request

GET /archive/?type={type}&date={date}

Arguments

type
(daily | weekly | monthly | yearly | finance | payment | all) Only return reports of this time. Defaults to all


date
(yyyy-mm-dd) Only return reports with a report_timestamp on this date. Defaults to all dates


Example Response

// GET /archive/?type=finance&date=2013-05-01

{
{
  "10": {
    "id": 10,
    "type": "finance",
    "external_account_id": 234,
    "report_timestamp": "2013-05-01T00:00:00",
    "import_timestamp": "2013-06-14T20:11:23",
    "region": "GB",
    "import_method": "auto"
  },
  "11": {
    "id": 11,
    "type": "finance",
    "external_account_id": 234,
    "report_timestamp": "2013-05-01T00:00:00",
    "import_timestamp": "2013-06-14T20:11:22",
    "region": "TR",
    "import_method": "auto"
  },
  ...
}

Getting Latest Report Listings

This route will return the newest report in each of the linked accounts.

Request

GET /archive/latest/?type={type}

Arguments

type
(daily | weekly | monthly | yearly | finance | payment | all) Only return reports of this time. Defaults to all


Example Response

// GET /archive/latest/?type=daily


{
  "23": {
    "id": 23,
    "type": "daily",
    "external_account_id": 234,
    "report_timestamp": "2013-06-30T00:00:00",
    "import_timestamp": "2013-07-01T08:12:31",
    "region": "None",
    "import_method": "auto"
  },
  "24": {
    "id": 24,
    "type": "daily",
    "external_account_id": 500,
    "report_timestamp": "2013-06-30T00:00:00",
    "import_timestamp": "2013-07-01T08:12:30",
    "region": "None",
    "import_method": "auto"
  }
}

Getting Raw Report Data

Request

GET /archive/raw/{id}/

Arguments

    id
    The id of the report to get


Example Response

// GET /archive/raw/105451447

// Output varies depending on type of report.
  • ixen

    Hi, when I list the files only get apple’s files, where are the android’s raw files?

    • appfigures

      We don’t currently store raw reports from Google Play because Google never deletes them.

  • Marc Schopper

    On GET https://api.appfigures.com/v2/archive?date=2014-07-14&type=all i get an 403 error: You do not have permission to access this resource.

    Why?