# API・MCP・データファイル

すべて無料・登録不要です。リンクはすべて公式URLで、広告リンクは含みません。出典表示（サイト名とURL）をお願いしています（義務ではありません）。

## データファイル（CC0）

- 全データ: `https://mobile.prishel.com/data/offers.json`
- Markdown: `https://mobile.prishel.com/index.md`、ブランド別 `https://mobile.prishel.com/brands/{id}/index.md`
- llms.txt: `https://mobile.prishel.com/llms.txt`（全文は `llms-full.txt`）
- 更新履歴: `https://mobile.prishel.com/data/changelog.jsonl`、Atom: `https://mobile.prishel.com/changes.atom`
- 確認方法: `https://mobile.prishel.com/methodology.json`

## 検索API

- `GET https://mobile.prishel.com/api/v1/jp/offers` … 条件: `category`（既定 mobile_voice）・`data_gb_min`・`data_gb_max`・`price_max`・`brand`・`network`・`pricing_model`・`include_topping`・`include_unverified`・`sort`（price / data / brand）・`limit`
- `GET https://mobile.prishel.com/api/v1/jp/categories` … カテゴリ（料金の形・比較に使う価格・必須項目・掲載件数）と項目の定義
- `GET https://mobile.prishel.com/api/v1/jp/offers/{id}`
- `GET https://mobile.prishel.com/api/v1/jp/brands`
- `GET https://mobile.prishel.com/api/v1/status`
- OpenAPI: `https://mobile.prishel.com/openapi.json`

例: 20GB以上を月額の安い順に `https://mobile.prishel.com/api/v1/jp/offers?data_gb_min=20&sort=price`

価格は公式ページの表示どおりです（円は税込）。円以外の通貨で表示された価格（旅行者向けeSIMなど）は換算せず `price.amount` と `price.currency` に入り、並びも通貨ごとです。料金の形（月額・1回払い・日額）が違うものは同じ並びの中で混ぜません。

各プランの `verification` に、表示時点で計算した確認状態があります。

- `status`: verified（確認済み）／changed_pending（公式ページの更新を検知し再確認中）／evidence_missing（抜粋が見つからず確認中）／held（保留）
- `freshness`: fresh（2時間以内に確認）／aging（24時間以内）／stale（24時間超）

## MCP

- エンドポイント: `https://mobile.prishel.com/mcp`（Streamable HTTP。2026-07-28、2025-11-25、2025-06-18、2025-03-26 に対応。認証なし・読み取り専用）
- ツール: `search_offers`（`category` で種類を選択）・`get_offer`・`list_categories`・`list_brands`・`get_status`
- Server Card: `https://mobile.prishel.com/mcp/server-card`
