Historical Palmoil physical API
Get oldest-first Palmoil observations
エンドポイントとリクエスト
REST エンドポイント
GET /v1/commodities/palmoil/physical/{series_id}/observations契約リクエスト
curl --request GET \
--url "https://api.narwhalapi.com/v1/commodities/palmoil/physical/id-ri-oil-palm-ffb-smallholder-purchase-agreement/observations?start=2026-08-01&end=2026-09-02&limit=100" \
--header "Authorization: Bearer $NARWHAL_API_KEY"MCPの使用 commodities_get_palmoil_physical_observations。RESTとMCPは同じスキーマ、アカウントクォータ、権限チェック、問題の形式を共有します。
パラメータ
| 名前 | 必須 | 種別 | 意味 |
|---|---|---|---|
series_id | はい | path · stable Narwhal ID | Series returned by discovery. |
start | いいえ | クエリ · YYYY-MM-DD | 下限(その値を含む)。endと一緒に指定する必要があります。 |
end | いいえ | クエリ · YYYY-MM-DD | 排他的な上限。start より後でなければなりません。 |
limit | いいえ | クエリ · 整数、1~500 | 返す完全なスケジュールの最大数。デフォルトは100です。 |
cursor | いいえ | クエリ · 不透明な文字列 | 同じ系列と日付範囲に束縛された継続トークン。 |
レスポンス
契約例
{
"series_id": "id-ri-oil-palm-ffb-smallholder-purchase-agreement",
"commodity": "OIL-PALM-FFB",
"country": "IDN",
"area": "ID-RI",
"producer_type": "smallholder",
"producer_arrangement": "purchase_agreement",
"price_type": "official_purchase_schedule",
"observation_type": "age_schedule",
"period_type": "effective",
"currency": "IDR",
"unit": "kilogram",
"observations": [
{
"period_start": "2026-08-26",
"period_end": "2026-09-01",
"published_on": "2026-08-26",
"revision": 1,
"prices": [
{
"tree_age_min_years": 3,
"tree_age_max_years": 3,
"price": "2998.31"
},
{
"tree_age_min_years": 4,
"tree_age_max_years": 4,
"price": "3347.20"
},
{
"tree_age_min_years": 5,
"tree_age_max_years": 5,
"price": "3595.38"
},
{
"tree_age_min_years": 6,
"tree_age_max_years": 6,
"price": "3734.94"
},
{
"tree_age_min_years": 7,
"tree_age_max_years": 7,
"price": "3818.86"
},
{
"tree_age_min_years": 8,
"tree_age_max_years": 8,
"price": "3865.46"
},
{
"tree_age_min_years": 9,
"tree_age_max_years": 9,
"price": "3878.72"
},
{
"tree_age_min_years": 10,
"tree_age_max_years": 20,
"price": "3836.93"
},
{
"tree_age_min_years": 21,
"tree_age_max_years": 21,
"price": "3770.94"
},
{
"tree_age_min_years": 22,
"tree_age_max_years": 22,
"price": "3695.31"
},
{
"tree_age_min_years": 23,
"tree_age_max_years": 23,
"price": "3609.33"
},
{
"tree_age_min_years": 24,
"tree_age_max_years": 24,
"price": "3544.29"
},
{
"tree_age_min_years": 25,
"tree_age_max_years": 25,
"price": "3490.84"
},
{
"tree_age_min_years": 26,
"tree_age_max_years": 26,
"price": "3471.62"
},
{
"tree_age_min_years": 27,
"tree_age_max_years": 27,
"price": "3441.82"
},
{
"tree_age_min_years": 28,
"tree_age_max_years": 28,
"price": "3385.41"
},
{
"tree_age_min_years": 29,
"tree_age_max_years": 29,
"price": "3344.02"
},
{
"tree_age_min_years": 30,
"tree_age_max_years": 30,
"price": "3249.41"
}
]
}
],
"next_cursor": null
}| フィールド | 種別 | 必須 | 意味 |
|---|---|---|---|
series_id / commodity / country / area | 文字列 | はい | 安定した識別情報と現物市場の範囲。 |
producer_type / producer_arrangement | 文字列または null | はい | 返されるすべてのスケジュールに共通する生産者範囲。 |
price_type / observation_type / period_type | 文字列 | はい | Shared typed value meaning and period convention. |
observations | 配列 | はい | Scalar or complete schedules ordered oldest first. |
next_cursor | 文字列または null | はい | 不透明な継続トークン、または末尾では null。 |
エラーとクォータ
400 invalid_query— コード、地域、日付範囲、上限、セレクターが無効です。400 invalid_cursor— カーソルが無効、または系列と範囲に一致しません。401 invalid_api_key— Bearer キーがないか拒否されました。404 palmoil_series_not_found— リクエストに一致する完全な承認済みデータがありません。429 rate_limit_exceededまたはquota_exhausted— 共有枠を使い切りました。503 physical_price_unavailable— 完全な公開データでインターフェースを安全に満たせません。
拒否されたリクエストとサーバーエラーは月間クォータを消費しません。
カバレッジ
History includes accepted revisions only and makes no promise for Malaysia or every Indonesian area.
Narwhal APIキーで利用できます。