API Hop

Dokumentasi

Dokumentasi API Hop

Referensi eBay

Cari produk di eBay dan ambil detail produk serta informasi penjual.

Batas konkurensi

AI dan Data masing-masing berbagi kumpulan slot serentak untuk seluruh akun: bawaan 5 AI / 2 Data, sesuai langganan. Batas khusus endpoint tetap tunduk pada batas kategori. Mencapai salah satu batas mengembalikan HTTP 429. Tugas asinkron memakai slot hingga eksekusi selesai.

GET /v1/ebay/search
Batas bawaan: 2
GET /v1/ebay/product
Batas bawaan: 2
GET /v1/ebay/seller
Batas bawaan: 2

Cari produk di eBay dan ambil detail produk serta informasi penjual.

Autentikasi dan biaya

Harga bawaan adalah $0.0003 (300 credits) per permintaan berhasil. Gunakan kunci API API Hop. Akses bergantung pada gateway aktif dan izin. Lihat katalog dan akun untuk harga per permintaan berhasil; harga khusus akun diutamakan. Hasil kosong yang berhasil tetap dikenai biaya. Kegagalan melepas cadangan. Batas waktu 60 detik, tanpa pengulangan atau paginasi otomatis. Kegagalan penyelesaian tidak mengulang permintaan pemasok.

http
Authorization: Bearer YOUR_API_KEY

eBay: Cari produk

GET https://api.apihop.ai/v1/ebay/search

Parameter

KolomTipeBatasContoh
querystringTeks pencarian; query: optionalcoffee
pageintegerHalaman mulai 1; page: optional; min: 1; max: 1001
devicestringPerangkat; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanJangan arsipkan respons; zero_trace: optionaltrue
ebay_domainstringDomain regional (ebay_domain); ebay_domain: optional; ebay.com.au, ebay.at, ebay.ca, ebay.fr, ebay.de, ebay.com.hk, ebay.ie, ebay.it, ebay.com.my, ebay.nl, ebay.pl, ebay.com.sg, ebay.es, ebay.ch, ebay.co.uk, ebay.comebay.com.au
_salicintegerKode negara atau toko (_salic); _salic: optional; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 104, 105, 106, 107, 108, 109, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 189, 190, 191, 192, 193, 194, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 223, 224, 226, 227, 228, 2291
_ipgintegerHasil per halaman (_ipg); _ipg: optional; 25, 50, 100, 20025
_blrsstringFilter asli platform (_blrs); _blrs: optional; spell_auto_correctspell_auto_correct
show_onlystringFilter asli platform (show_only); show_only: optional; ^(?:FR|RPA|AS|Savings|SaleItems|Lots|Charity|AV|FS|LPickup)(?:,(?:FR|RPA|AS|Savings|SaleItems|Lots|Charity|AV|FS|LPickup))*$-
buying_formatstringFilter asli platform (buying_format); buying_format: optional; Auction, BIN, BOAuction
_saslstringID penjual (_sasl); _sasl: optional; ^[A-Za-z0-9_.@-]+(?:,[A-Za-z0-9_.@-]+)*$-
_saslopintegerFilter asli platform (_saslop); _saslop: optional; 1, 21
popular_filtersstringFilter asli platform (popular_filters); popular_filters: optional; UTF-8 bytes: 4096-
_udlonumberHarga minimum (_udlo); _udlo: optional; min: 0; max: 10000000000
_udhinumberHarga maksimum (_udhi); _udhi: optional; min: 0; max: 10000000000
_sopintegerUrutan asli (_sop); _sop: optional; 12, 1, 10, 15, 16, 7, 3, 2, 18, 1912
_dmdstringFilter asli platform (_dmd); _dmd: optional; Grid, ListGrid
category_idstringID kategori (category_id); category_id: optional; ^[0-9]{1,18}$-
_stposstringKode pos pengiriman (_stpos); _stpos: optional; ^[A-Za-z0-9 -]{1,16}$-
LH_ItemConditionstringFilter asli platform (LH_ItemCondition); LH_ItemCondition: optional; ^(?:10|1000|1500|1750|2000|2010|2020|2030|2500|2750|2990|3000|3010|4000|5000|6000|7000)(?:\|(?:10|1000|1500|1750|2000|2010|2020|2030|2500|2750|2990|3000|3010|4000|5000|6000|7000))*$-
LH_PrefLocstringFilter asli platform (LH_PrefLoc); LH_PrefLoc: optional; Domestic, Regional, WorldwideDomestic

Validasi

Hanya parameter kueri, tanpa isi permintaan. Nilai tak dikenal, berulang, kosong, atau tidak valid ditolak. Hanya JSON; tanpa paginasi atau percobaan ulang otomatis. Aturan: AND = keduanya, OR = atau, XOR = tepat satu, NOT = dilarang, => = memerlukan.

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • _udlo <= _udhi
  • query OR category_id OR _sasl: required

Contoh

bash
curl --get "https://api.apihop.ai/v1/ebay/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee"

eBay: Ambil detail produk

GET https://api.apihop.ai/v1/ebay/product

Parameter

KolomTipeBatasContoh
idstringID produk atau penjual dari hasil pencarian (id); id: REQUIRED153019705014
devicestringPerangkat; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanJangan arsipkan respons; zero_trace: optionaltrue
ebay_domainstringDomain regional (ebay_domain); ebay_domain: optional; ebay.com.au, ebay.at, ebay.ca, ebay.fr, ebay.de, ebay.com.hk, ebay.ie, ebay.it, ebay.com.my, ebay.nl, ebay.pl, ebay.com.sg, ebay.es, ebay.ch, ebay.co.uk, ebay.comebay.com.au
localestringFilter asli platform (locale); locale: optional; US, CA, GB, AF, AL, DZ, AS, AD, AO, AI, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, VG, BN, BG, BF, MM, BI, KH, CM, CV, KY, CF, TD, CL, CN, CO, KM, CD, CG, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FJ, FI, FR, GF, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, MD, MC, MN, MS, MA, MZ, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NO, OM, PK, PW, PA, PG, PY, PE, PH, PL, PT, PR, QA, RO, RU, RW, SH, KN, LC, PM, VC, SM, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TG, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, UY, UZ, VU, VA, VE, VN, VI, WF, EH, WS, YE, ZM, ZW, FM, RE, ME, RSUS
langstringFilter asli platform (lang); lang: optional; ^[a-z]{2,3}-[A-Z]{2}$-
shipping_countrystringKode negara atau toko (shipping_country); shipping_country: optional; US, CA, GB, AF, AL, DZ, AS, AD, AO, AI, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, VG, BN, BG, BF, MM, BI, KH, CM, CV, KY, CF, TD, CL, CN, CO, KM, CD, CG, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FJ, FI, FR, GF, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, MD, MC, MN, MS, MA, MZ, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NO, OM, PK, PW, PA, PG, PY, PE, PH, PL, PT, PR, QA, RO, RU, RW, SH, KN, LC, PM, VC, SM, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, ES, LK, SD, SR, SZ, SE, CH, SY, TW, TJ, TZ, TH, TG, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, UY, UZ, VU, VA, VE, VN, VI, WF, EH, WS, YE, ZM, ZW, FM, RE, ME, RSUS

Validasi

Hanya parameter kueri, tanpa isi permintaan. Nilai tak dikenal, berulang, kosong, atau tidak valid ditolak. Hanya JSON; tanpa paginasi atau percobaan ulang otomatis. Aturan: AND = keduanya, OR = atau, XOR = tepat satu, NOT = dilarang, => = memerlukan.

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • lang => locale AND ebay_domain = ebay.com (default)
  • id: /^[0-9]{1,30}$/

Contoh

bash
curl --get "https://api.apihop.ai/v1/ebay/product" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "id=153019705014"

eBay: Ambil informasi penjual

GET https://api.apihop.ai/v1/ebay/seller

Parameter

KolomTipeBatasContoh
idstringID produk atau penjual dari hasil pencarian (id); id: REQUIREDsecond.sale
devicestringPerangkat; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanJangan arsipkan respons; zero_trace: optionaltrue
ebay_domainstringDomain regional (ebay_domain); ebay_domain: optional; ebay.com.au, ebay.at, ebay.ca, ebay.fr, ebay.de, ebay.com.hk, ebay.ie, ebay.it, ebay.com.my, ebay.nl, ebay.pl, ebay.com.sg, ebay.es, ebay.ch, ebay.co.uk, ebay.comebay.com.au
typestringFilter asli platform (type); type: optional; user, storeuser
pageintegerHalaman mulai 1; page: optional; min: 1; max: 1001
limitintegerBatas hasil; limit: optional; min: 1; max: 1001
_ipgintegerHasil per halaman (_ipg); _ipg: optional; 24, 48, 7224
_sopintegerUrutan asli (_sop); _sop: optional; 12, 1, 10, 15, 16, 712
buying_formatintegerFilter asli platform (buying_format); buying_format: optional; 0, 1, 20
LH_ItemConditionstringFilter asli platform (LH_ItemCondition); LH_ItemCondition: optional; ^(?:3&#124;4&#124;10)(?:\&#124;(?:3&#124;4&#124;10))*$-
free_shippingbooleanPengiriman gratis (free_shipping); free_shipping: optionaltrue

Validasi

Hanya parameter kueri, tanpa isi permintaan. Nilai tak dikenal, berulang, kosong, atau tidak valid ditolak. Hanya JSON; tanpa paginasi atau percobaan ulang otomatis. Aturan: AND = keduanya, OR = atau, XOR = tepat satu, NOT = dilarang, => = memerlukan.

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • id: /^[A-Za-z0-9_.@-]{1,128}$/

Contoh

bash
curl --get "https://api.apihop.ai/v1/ebay/seller" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "id=second.sale"

Respons dan kesalahan

JSON asli dan presisi dipertahankan. Contoh hasil kosong berhasil. HTTP 400: masukan; 401: autentikasi; 402: saldo; 403: akses; 405: metode; 429: batas; 5xx: layanan. Simpan X-Request-Id.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}