Skip to main content
POST
/
api
/
rakuten
/
categories
/rakuten/categories
curl --request POST \
  --url https://api.anysite.io/api/rakuten/categories \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "timeout": 300,
  "genre_id": 1
}
'
[
  {
    "id": 123,
    "@type": "@rakuten_category",
    "name": "<string>",
    "alias": "<string>",
    "parent_category_id": 123,
    "is_leaf": false,
    "url": "<string>",
    "breadcrumbs": [],
    "children": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
genre_id
integer | null

Rakuten Ichiba genre id to drill into; omit to list the top-level genres

Required range: x > 0

Response

Successful Response

id
integer
required
@type
string
default:@rakuten_category
name
string | null
alias
string | null
parent_category_id
integer | null
is_leaf
boolean
default:false
url
string | null
breadcrumbs
string[]
children
RakutenCategoryChild · object[]