Docs
ศูนย์นักพัฒนาแดชบอร์ดesimoa.com
    • บทนำ
    • เริ่มต้นใช้งานด่วน
    • การยืนยันตัวตน
    • Overview
    • แสดงรายการ eSIM
    • รับ eSIM
    • ประเทศ
    • OpenAPI
    • การติดตามและค่าคอมมิชชัน
    • ขีดจำกัดอัตราคำขอและข้อผิดพลาด
    • Overview
    • Claude
    • ChatGPT
    • Gemini
    • ไคลเอนต์ MCP อื่นๆ
    • Overview
    • การยืนยันตัวตน
    • สินค้า
    • รายละเอียดสินค้า
    • ประเทศ
    • Errors & rate limits
  1. Docs
  2. API สำหรับพาร์ตเนอร์ (B2B)
  3. ประเทศ

API สำหรับพาร์ตเนอร์ (B2B)

ประเทศ

GET /b2b/v1/countries — list countries that have products on sale, with Korean or English names.

On this page
  • Request
  • Query parameters
  • การตอบกลับ

Request#

GET/b2b/v1/countries
curl "https://api.esimoa.com/b2b/v1/countries?lang=en" \
  -H "X-API-Key: $ESIMOA_PARTNER_KEY"
const res = await fetch('https://api.esimoa.com/b2b/v1/countries?lang=en', {
  headers: { 'X-API-Key': process.env.ESIMOA_PARTNER_KEY },
});
const { data: countries } = await res.json();
res = requests.get(
    "https://api.esimoa.com/b2b/v1/countries",
    params={"lang": "en"},
    headers={"X-API-Key": os.environ["ESIMOA_PARTNER_KEY"]},
    timeout=10,
)
countries = res.json()["data"]

Query parameters#

พารามิเตอร์ประเภทคำอธิบาย
lang'ko' | 'en'ภาษาของชื่อประเทศ (ค่าเริ่มต้น ko)

การตอบกลับ#

200 OKjson
{
  "success": true,
  "data": [
    { "countryCode": "AU", "name": "Australia", "planCount": 64 },
    { "countryCode": "JP", "name": "Japan", "planCount": 128 }
  ]
}
ฟิลด์ประเภทคำอธิบาย
countryCodestringรหัสประเทศ ISO 3166-1 alpha-2
namestringชื่อประเทศ (ตาม lang)
planCountinteger?จำนวนสินค้าที่วางขาย — ละไว้หากไม่ทราบ

รายการเรียงตามชื่อประเทศในภาษาที่ขอ ไม่รวมประเทศที่ไม่มีสินค้าและสินค้าหลายประเทศ — ค้นหาสินค้าหลายประเทศด้วย isMultiCountry=true ในการค้นหาสินค้า

อัปเดตล่าสุด: 1 ตุลาคม 2569

Previousรายละเอียดสินค้าถัดไปErrors & rate limits

On this page

  • Request
  • Query parameters
  • การตอบกลับ

APIs and MCP for bringing esimoa eSIMs to your product

Resources

  • Docs
  • API reference
  • API สำหรับพาร์ตเนอร์ (B2B)
  • MCP server
  • OpenAPI spec

esimoa

  • หน้าหลัก
  • eSIM แพ็กเกจ
  • ศูนย์นักพัฒนา
  • แดชบอร์ด
  • พอร์ทัลพาร์ตเนอร์

Company

  • เกี่ยวกับเรา
  • พาร์ตเนอร์
  • เงื่อนไขการใช้บริการ
  • นโยบายความเป็นส่วนตัว
  • นโยบายจัดส่งและคืนเงิน

ช่วยเหลือ

  • support@esimoa.com
  • แชตช่วยเหลือ

NBase Korea Co., Ltd.

902, Bldg A, 767 Sinsu-ro, Suji-gu, Yongin-si, Gyeonggi-do (Dongcheon-dong, Bundang Suji U-TOWER)

สำนักงานใหญ่ในสหรัฐฯ: NBASE CORP. · Corporate Park, Irvine, CA 92606, USA

© 2026 esimoa สงวนลิขสิทธิ์