コンテンツにスキップ

個人データのダウンロード URL を発行

GET
/rest/v1/exportMyData
curl --request GET \
--url 'https://game.retrogather.com/rest/v1/exportMyData?dataset=library&format=json&sortBy=buyDate&sortOrder=asc&wishDateOverdue=overdue&clearTargetOverdue=overdue' \
--header 'Authorization: Bearer <token>'

Export / エクスポート: issue a 15-minute bearer URL for a personal dataset (backup as JSON or CSV). Physical copy details are out of scope. One game per row (playRecords with includeHistory: one row per play record). Does not return the file body. library / wishlist / playRecords / collections / consoles accept the same filters and sort as the matching list tools; filters are stored in the token and reapplied on download. The response is a download URL; direct=1 style inline bodies are not provided.

Arrays are comma-separated. Percent-encode query values; Japanese values are easier to send with POST JSON. Plans: FREE / LIGHT / PREMIUM. Scopes: library:read, play:read, games:read. FREE: not available: includeHistory, consoleIds, name, unrated, purposeTypes, collectionTypes; narrowed: buyDateFrom, buyDateTo, buyPriceFrom, buyPriceTo (see x-rgg-plan-differences). LIGHT: not available: includeHistory, purposeTypes, collectionTypes; narrowed: name (see x-rgg-plan-differences).

dataset
required
string
Allowed values: library wishlist playRecords playLogs tags collections consoles customGames

(LIGHT+: tags, consoles) (PREMIUM: collections, customGames)

format
string
Allowed values: json csv
includeHistory
boolean

PlayRecords only. true exports every play cycle (a game can appear more than once) instead of the latest record per game. (PREMIUM)

platformIds
Array<integer>
<= 10 items

Platform IDs (OR)

genreId
integer
>= 1

Genre ID from listGenres. A root ID matches the game’s genreId or genreSubId. A non-root ID matches titleKana using that genre’s taxonomy key.

title
string
<= 30 characters

Title, reading, or edition name

releaseDateFrom
string format: date

Release date from (inclusive, YYYY-MM-DD). Games without a release date are excluded.

releaseDateTo
string format: date

Release date to (inclusive, YYYY-MM-DD). Games without a release date are excluded.

attributes
Array<string>
<= 5 items

Attribute IDs or labels (AND)

buyPlace
string
<= 30 characters

Purchase place (substring, case-insensitive)

ratingFrom
integer
>= 1 <= 5

Minimum rating (1-5)

ratingTo
integer
>= 1 <= 5

Maximum rating (1-5)

buyDateFrom
string format: date

YYYY-MM-DD

buyDateTo
string format: date

YYYY-MM-DD

buyPriceFrom
integer
buyPriceTo
integer
sortBy
string
Allowed values: buyDate buyPrice updatedAt title rating releaseDate priority createdAt wishDate wishPrice playStartDate playEndDate clearTargetDate totalPlayTime name

Sort field allowed by the selected dataset (same values as the matching list tool)

sortOrder
string
Allowed values: asc desc

Asc or desc

wishPlace
string
<= 30 characters

Store being searched (substring, case-insensitive)

wishDateFrom
string format: date

Planned purchase date from

wishDateTo
string format: date

Planned purchase date to

wishDateOverdue
string
Allowed values: overdue not_overdue

Overdue: wishDate is set and before today. not_overdue: no wishDate, or wishDate is today or later.

wishPriceFrom
integer

Target price from (JPY)

wishPriceTo
integer

Target price to (JPY)

statuses
Array<string>
Allowed values: PLANNED PLAYING PAUSED COMPLETED DROPPED

Play statuses (OR)

consoleIds
Array<string>
<= 5 items

Played console IDs (OR) (LIGHT+)

playStartDateFrom
string format: date

YYYY-MM-DD

playStartDateTo
string format: date

YYYY-MM-DD

playEndDateFrom
string format: date

YYYY-MM-DD

playEndDateTo
string format: date

YYYY-MM-DD

clearTargetDateFrom
string format: date

YYYY-MM-DD

clearTargetDateTo
string format: date

YYYY-MM-DD

clearTargetOverdue
string
Allowed values: overdue not_overdue

Overdue: unfinished (PLANNED/PLAYING/PAUSED) with clearTargetDate before today. COMPLETED/DROPPED are never overdue.

totalPlayTimeFrom
integer

Total play time from (minutes)

totalPlayTimeTo
integer

Total play time to (minutes)

name
string
<= 30 characters

Collection name (substring, case-insensitive)

unrated
boolean

Only consoles with no rating

purposeTypes
Array<string>
Allowed values: LIBRARY PLAY
collectionTypes
Array<string>
Allowed values: INDIVIDUAL TAG PLATFORM

Tool result JSON (no MCP envelope). Delete previews also return 200 with confirmToken.

Media typeapplication/json
Any of:
object
url
required
string
expiresInSec
required
number
expiresAt
required
string
columns
Array<string>
note
string
dataset
required
string
format
required
string
Allowed values: json csv
rowCount
required
integer
key
additional properties
any
Example
{
"format": "json"
}

Invalid_input (arguments, broken JSON body)

Media typeapplication/json

Entry errors (auth, routing, quota) use error; tool errors use code and message. Check retryable when present.

object
error
string
code
string
message
string
retryable
boolean
retryAfterSec
integer
requestId
string
resetAt
string
remaining
integer
scopes
Array<string>
upgradeUrl
string
key
additional properties
any
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"retryable": true,
"retryAfterSec": 1,
"requestId": "example",
"resetAt": "example",
"remaining": 1,
"scopes": [
"example"
],
"upgradeUrl": "example"
}

Missing or invalid API key

Media typeapplication/json

Entry errors (auth, routing, quota) use error; tool errors use code and message. Check retryable when present.

object
error
string
code
string
message
string
retryable
boolean
retryAfterSec
integer
requestId
string
resetAt
string
remaining
integer
scopes
Array<string>
upgradeUrl
string
key
additional properties
any
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"retryable": true,
"retryAfterSec": 1,
"requestId": "example",
"resetAt": "example",
"remaining": 1,
"scopes": [
"example"
],
"upgradeUrl": "example"
}

Insufficient_scope, plan_required, or access_suspended

Media typeapplication/json

Entry errors (auth, routing, quota) use error; tool errors use code and message. Check retryable when present.

object
error
string
code
string
message
string
retryable
boolean
retryAfterSec
integer
requestId
string
resetAt
string
remaining
integer
scopes
Array<string>
upgradeUrl
string
key
additional properties
any
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"retryable": true,
"retryAfterSec": 1,
"requestId": "example",
"resetAt": "example",
"remaining": 1,
"scopes": [
"example"
],
"upgradeUrl": "example"
}

Target or tool not found

Media typeapplication/json

Entry errors (auth, routing, quota) use error; tool errors use code and message. Check retryable when present.

object
error
string
code
string
message
string
retryable
boolean
retryAfterSec
integer
requestId
string
resetAt
string
remaining
integer
scopes
Array<string>
upgradeUrl
string
key
additional properties
any
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"retryable": true,
"retryAfterSec": 1,
"requestId": "example",
"resetAt": "example",
"remaining": 1,
"scopes": [
"example"
],
"upgradeUrl": "example"
}

Burst or daily quota exceeded. See resetAt.

Media typeapplication/json

Entry errors (auth, routing, quota) use error; tool errors use code and message. Check retryable when present.

object
error
string
code
string
message
string
retryable
boolean
retryAfterSec
integer
requestId
string
resetAt
string
remaining
integer
scopes
Array<string>
upgradeUrl
string
key
additional properties
any
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"retryable": true,
"retryAfterSec": 1,
"requestId": "example",
"resetAt": "example",
"remaining": 1,
"scopes": [
"example"
],
"upgradeUrl": "example"
}
Retry-After
integer

Seconds

Unexpected server failure. Retrying the same call will not help.

Media typeapplication/json

Entry errors (auth, routing, quota) use error; tool errors use code and message. Check retryable when present.

object
error
string
code
string
message
string
retryable
boolean
retryAfterSec
integer
requestId
string
resetAt
string
remaining
integer
scopes
Array<string>
upgradeUrl
string
key
additional properties
any
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"retryable": true,
"retryAfterSec": 1,
"requestId": "example",
"resetAt": "example",
"remaining": 1,
"scopes": [
"example"
],
"upgradeUrl": "example"
}

Temporary failure or maintenance. Retry after Retry-After.

Media typeapplication/json

Entry errors (auth, routing, quota) use error; tool errors use code and message. Check retryable when present.

object
error
string
code
string
message
string
retryable
boolean
retryAfterSec
integer
requestId
string
resetAt
string
remaining
integer
scopes
Array<string>
upgradeUrl
string
key
additional properties
any
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"retryable": true,
"retryAfterSec": 1,
"requestId": "example",
"resetAt": "example",
"remaining": 1,
"scopes": [
"example"
],
"upgradeUrl": "example"
}
Retry-After
integer

Seconds