Get plan details
get_plan_detailsFull details for one roamflat plan by product id: data allowance, validity, network, throttle behaviour, daily reset, full coverage country list, reviews, description and link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ISO language of the conversation. Localizes names/labels and sets the landing-page language/currency of the link. | |
| product_id | Yes | WooCommerce product id from search_esim_plans. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fup | No | All You Can Surf fair-use policy in plain words (daily full-speed allowance and the still-unlimited reduced speed afterwards, or no limit at all). Present it as returned; empty for non-AYCS plans. | |
| url | No | ||
| days | No | Validity in days. | |
| name | No | Plan name, localized to the requested language where a translation exists. | |
| type | No | Daily Surf, Trip Surf or All You Can Surf. Brand names — keep in English. | |
| grade | No | All You Can Surf tier qualifier (empty for standard). Present only the returned value. | |
| price | No | FULL fixed price in currency; not per-day or per-GB. | |
| rating | No | ||
| carrier | No | Local network operator, when specified. NEVER invent one if empty. | |
| data_gb | No | High-speed data in GB. PER DAY when data_period is per_day (Daily Surf); TOTAL for the whole validity when data_period is total (Trip Surf). 0 = no fixed high-speed cap stated. | |
| network | No | Network generation, e.g. 5G/4G. NEVER invent one if empty. | |
| coverage | No | Human-readable coverage label (localized). | |
| currency | No | ||
| family_id | No | Plans sharing a family_id are day-length variants of the same package. | |
| data_reset | No | When the daily allowance refreshes (per_day plans only). Empty when unknown. | |
| product_id | No | ||
| data_period | No | per_day or total — how data_gb applies. | |
| description | No | ||
| review_count | No | ||
| throttle_kbps | No | Speed in kbps after the high-speed allowance is used (for that day on per_day plans; for the rest of the trip on total plans). 0 = no throttle stated in this plan's specification. | |
| coverage_countries | No | Localized country names covered (details tool only, multi-country plans). |