API Hop

Documentación

Documentación de API Hop

Referencia de eBay

Busca productos en eBay y consulta detalles e información de vendedores.

Límite de concurrencia

IA y Data comparten cada uno un grupo de solicitudes simultáneas por cuenta: 5 IA / 2 Data por defecto, según la suscripción. Los límites específicos de endpoints también están sujetos al límite de categoría. Alcanzar cualquiera de los límites devuelve HTTP 429. Las tareas asíncronas ocupan una plaza hasta finalizar su ejecución.

GET /v1/ebay/search
Límite predeterminado: 2
GET /v1/ebay/product
Límite predeterminado: 2
GET /v1/ebay/seller
Límite predeterminado: 2

Busca productos en eBay y consulta detalles e información de vendedores.

Autenticación y facturación

El precio predeterminado es $0.0003 (300 credits) por solicitud correcta. Usa tu clave API API Hop. El acceso depende de las pasarelas activas y los permisos. Consulta el catálogo y tu cuenta para el precio por solicitud correcta; prevalece el precio de la cuenta. Los resultados vacíos correctos se cobran. Los fallos liberan la reserva. Límite: 60 segundos, sin reintentos ni paginación automática. Un fallo de liquidación no repite la solicitud al proveedor.

http
Authorization: Bearer YOUR_API_KEY

eBay: Buscar productos

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

Parámetros

CampoTipoLímitesEjemplo
querystringTexto de búsqueda; query: optionalcoffee
pageintegerPágina desde 1; page: optional; min: 1; max: 1001
devicestringDispositivo; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanNo archivar respuestas; zero_trace: optionaltrue
ebay_domainstringDominio 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
_salicintegerCódigo de país o tienda (_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
_ipgintegerResultados por página (_ipg); _ipg: optional; 25, 50, 100, 20025
_blrsstringFiltros nativos (_blrs); _blrs: optional; spell_auto_correctspell_auto_correct
show_onlystringFiltros nativos (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_formatstringFiltros nativos (buying_format); buying_format: optional; Auction, BIN, BOAuction
_saslstringID del vendedor (_sasl); _sasl: optional; ^[A-Za-z0-9_.@-]+(?:,[A-Za-z0-9_.@-]+)*$-
_saslopintegerFiltros nativos (_saslop); _saslop: optional; 1, 21
popular_filtersstringFiltros nativos (popular_filters); popular_filters: optional; UTF-8 bytes: 4096-
_udlonumberPrecio mínimo (_udlo); _udlo: optional; min: 0; max: 10000000000
_udhinumberPrecio máximo (_udhi); _udhi: optional; min: 0; max: 10000000000
_sopintegerOrden nativo (_sop); _sop: optional; 12, 1, 10, 15, 16, 7, 3, 2, 18, 1912
_dmdstringFiltros nativos (_dmd); _dmd: optional; Grid, ListGrid
category_idstringID de categoría (category_id); category_id: optional; ^[0-9]{1,18}$-
_stposstringCódigo postal de entrega (_stpos); _stpos: optional; ^[A-Za-z0-9 -]{1,16}$-
LH_ItemConditionstringFiltros nativos (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_PrefLocstringFiltros nativos (LH_PrefLoc); LH_PrefLoc: optional; Domestic, Regional, WorldwideDomestic

Validación

Solo parámetros de consulta, sin cuerpo. Se rechazan valores desconocidos, repetidos, vacíos o inválidos. Solo respuestas JSON; sin paginación ni reintentos automáticos. Reglas: AND = ambos, OR = o, XOR = exactamente uno, NOT = excluido, => = requiere.

  • 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

Ejemplos

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

eBay: Consultar detalles del producto

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

Parámetros

CampoTipoLímitesEjemplo
idstringID del producto o vendedor de los resultados (id); id: REQUIRED153019705014
devicestringDispositivo; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanNo archivar respuestas; zero_trace: optionaltrue
ebay_domainstringDominio 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
localestringFiltros nativos (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
langstringFiltros nativos (lang); lang: optional; ^[a-z]{2,3}-[A-Z]{2}$-
shipping_countrystringCódigo de país o tienda (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

Validación

Solo parámetros de consulta, sin cuerpo. Se rechazan valores desconocidos, repetidos, vacíos o inválidos. Solo respuestas JSON; sin paginación ni reintentos automáticos. Reglas: AND = ambos, OR = o, XOR = exactamente uno, NOT = excluido, => = requiere.

  • 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}$/

Ejemplos

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

eBay: Consultar información del vendedor

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

Parámetros

CampoTipoLímitesEjemplo
idstringID del producto o vendedor de los resultados (id); id: REQUIREDsecond.sale
devicestringDispositivo; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanNo archivar respuestas; zero_trace: optionaltrue
ebay_domainstringDominio 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
typestringFiltros nativos (type); type: optional; user, storeuser
pageintegerPágina desde 1; page: optional; min: 1; max: 1001
limitintegerLímite de resultados; limit: optional; min: 1; max: 1001
_ipgintegerResultados por página (_ipg); _ipg: optional; 24, 48, 7224
_sopintegerOrden nativo (_sop); _sop: optional; 12, 1, 10, 15, 16, 712
buying_formatintegerFiltros nativos (buying_format); buying_format: optional; 0, 1, 20
LH_ItemConditionstringFiltros nativos (LH_ItemCondition); LH_ItemCondition: optional; ^(?:3&#124;4&#124;10)(?:\&#124;(?:3&#124;4&#124;10))*$-
free_shippingbooleanEnvío gratis (free_shipping); free_shipping: optionaltrue

Validación

Solo parámetros de consulta, sin cuerpo. Se rechazan valores desconocidos, repetidos, vacíos o inválidos. Solo respuestas JSON; sin paginación ni reintentos automáticos. Reglas: AND = ambos, OR = o, XOR = exactamente uno, NOT = excluido, => = requiere.

  • 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}$/

Ejemplos

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

Respuestas y errores

Se conservan JSON nativo y precisión. Ejemplo de resultado vacío correcto. HTTP 400: entrada; 401: autenticación; 402: saldo; 403: acceso; 405: método; 429: límite; 5xx: servicio. Guarda X-Request-Id.

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