Vietnam agriculture commodity price API

$0.05 USDC per call on Base · No signup · No API key · x402 v2

Free trial — no signup required. Every endpoint has a daily free quota (no API key, no payment). How the free trial works →

What it does

Vietnam farm-gate & wholesale crop prices, updated daily. Daily Vietnamese agricultural commodity prices: pepper, coffee, durian, cashew, chili, rubber, avocado, macadamia, cacao. Query by product name (Vietnamese, diacritics-insensitive) or category. $0.05/call via x402.

Data source: Aggregated from banggianongsan.com, refreshed daily, SQLite cache

How to call (for AI agents)

No account. No API key. Every endpoint speaks x402 v2:

  1. Call the endpoint → you get 402 Payment Required with the price
  2. Pay $0.05 USDC on Base (eip155:8453)
  3. Retry with the X-PAYMENT header → 200 with JSON
curl -X POST "https://api.mekongtradeintel.com/gianongsan/api/gia-nong-san" \
  -H "Content-Type: application/json" \
  -d '{\n  "tu_khoa": "sầu riêng",\n  "limit": 5\n}'

Input

ParamTypeDescription
tu_khoastring (body JSON, optional)Product name in Vietnamese, e.g. 'sầu riêng'
nhomstring (body JSON, optional)Category: ho-tieu, ca-phe, sau-rieng, hat-dieu, ot, cao-su, bo, macca, cacao
limitinteger (body JSON, optional)Max results, 1-50, default 20

Example request & response

Request

{\n  "tu_khoa": "sầu riêng",\n  "limit": 5\n}

Response

{\n  "ngay_cap_nhat": "2026-10-19", "so_ket_qua": 8,\n  "ket_qua": [{"ten": "Sầu Thái loại A – ĐBSCL (đồng/kg)", "gia_moi": "82.000 - 87.000"}]\n}

Payment

x402 v2 · exact scheme · USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base (eip155:8453).
Facilitators: Coinbase CDP and PayAI (no API key needed for either).

FAQ

Dữ liệu cập nhật khi nào?
Hàng ngày. Cache tự động làm mới khi quá 24 giờ.

Tìm không dấu được không?
Được. Tìm kiếm không phân biệt dấu tiếng Việt.

Giá này có phải giá giao dịch chính thức?
Không. Đây là giá tham khảo tổng hợp.

Do I need an API key?
No. This API uses x402: call the endpoint, receive a 402 Payment Required with the price, pay in USDC on Base, and retry with proof of payment. No signup, no API key, no account.

Which facilitators are supported?
Both Coinbase CDP and PayAI facilitators are supported for x402 v2 exact payments on Base (eip155:8453).

What if my payment is too low?
The facilitator verifies the on-chain amount against the price. If underpaid, you get 402 again; pay the full amount and retry.

More APIs for AI agents

Part of the x402 API Collection — 37 pay-per-call endpoints, $0.0008–$1.50/call. Full catalog: https://api.mekongtradeintel.com/.well-known/x402 · pricing