楽天市場
ベータ ドメイン: rakuten.co.jp, search.rakuten.co.jp, item.rakuten.co.jp
Crawl Hubは掲載サイトの公式APIではなく、各サイト運営者との提携・承認を意味しません。対応状況は公開URLパターンに対するCrawl Hubの動作範囲を示します。
対応URLパターン
一覧
https://search.rakuten.co.jp/search/mall/nike/https://search.rakuten.co.jp/search/mall/{keyword}/https://www.rakuten.co.jp/category/{category_id}/https://ranking.rakuten.co.jp/daily/{category_path}/https://item.rakuten.co.jp/{shop_id}/c/{category_id}/
詳細
https://item.rakuten.co.jp/alpen/4023566921/https://item.rakuten.co.jp/{shop_id}/{item_id}/
対応操作
自動判定, 掲載終了確認
出力
HTML, JSON
既知の制限
- Native TLS fingerprint route uses public Rakuten search and list-derived item detail URLs. Cookie/Auth/browser production route is prohibited.
エラー時の動作
非対応URL、許可されていない操作、ポリシー制限に該当するリクエストは、内部情報を出さずにリクエストID付きの標準エラーを返します。
リクエスト例
curl -X POST https://api.crawl-hub.shian.space/v1/scrape \
-H "Authorization: Bearer $CRAWLHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://jp.mercari.com/item/...", "params":{"mode":"html_json", "work_type":"auto", "include_html":false}}'
{
"request_id": "req_...",
"resolved_site": "mercari",
"fetch_summary": {"status": "completed", "attempts": 1},
"cost_units": 2,
"data": {"title": "...", "price": 12800}
}
