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 GET /v1/ebay/product GET /v1/ebay/seller 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.
Authorization: Bearer YOUR_API_KEYeBay: Buscar productos
GET https://api.apihop.ai/v1/ebay/search
Parámetros
| Campo | Tipo | Límites | Ejemplo |
|---|---|---|---|
query | string | Texto de búsqueda; query: optional | coffee |
page | integer | Página desde 1; page: optional; min: 1; max: 100 | 1 |
device | string | Dispositivo; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | No archivar respuestas; zero_trace: optional | true |
ebay_domain | string | Dominio 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.com | ebay.com.au |
_salic | integer | Có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, 229 | 1 |
_ipg | integer | Resultados por página (_ipg); _ipg: optional; 25, 50, 100, 200 | 25 |
_blrs | string | Filtros nativos (_blrs); _blrs: optional; spell_auto_correct | spell_auto_correct |
show_only | string | Filtros 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_format | string | Filtros nativos (buying_format); buying_format: optional; Auction, BIN, BO | Auction |
_sasl | string | ID del vendedor (_sasl); _sasl: optional; ^[A-Za-z0-9_.@-]+(?:,[A-Za-z0-9_.@-]+)*$ | - |
_saslop | integer | Filtros nativos (_saslop); _saslop: optional; 1, 2 | 1 |
popular_filters | string | Filtros nativos (popular_filters); popular_filters: optional; UTF-8 bytes: 4096 | - |
_udlo | number | Precio mínimo (_udlo); _udlo: optional; min: 0; max: 1000000000 | 0 |
_udhi | number | Precio máximo (_udhi); _udhi: optional; min: 0; max: 1000000000 | 0 |
_sop | integer | Orden nativo (_sop); _sop: optional; 12, 1, 10, 15, 16, 7, 3, 2, 18, 19 | 12 |
_dmd | string | Filtros nativos (_dmd); _dmd: optional; Grid, List | Grid |
category_id | string | ID de categoría (category_id); category_id: optional; ^[0-9]{1,18}$ | - |
_stpos | string | Código postal de entrega (_stpos); _stpos: optional; ^[A-Za-z0-9 -]{1,16}$ | - |
LH_ItemCondition | string | Filtros 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_PrefLoc | string | Filtros nativos (LH_PrefLoc); LH_PrefLoc: optional; Domestic, Regional, Worldwide | Domestic |
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 supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/_udlo <= _udhiquery OR category_id OR _sasl: required
Ejemplos
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
| Campo | Tipo | Límites | Ejemplo |
|---|---|---|---|
id | string | ID del producto o vendedor de los resultados (id); id: REQUIRED | 153019705014 |
device | string | Dispositivo; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | No archivar respuestas; zero_trace: optional | true |
ebay_domain | string | Dominio 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.com | ebay.com.au |
locale | string | Filtros 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, RS | US |
lang | string | Filtros nativos (lang); lang: optional; ^[a-z]{2,3}-[A-Z]{2}$ | - |
shipping_country | string | Có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, RS | US |
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 supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/lang => locale AND ebay_domain = ebay.com (default)id: /^[0-9]{1,30}$/
Ejemplos
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
| Campo | Tipo | Límites | Ejemplo |
|---|---|---|---|
id | string | ID del producto o vendedor de los resultados (id); id: REQUIRED | second.sale |
device | string | Dispositivo; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | No archivar respuestas; zero_trace: optional | true |
ebay_domain | string | Dominio 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.com | ebay.com.au |
type | string | Filtros nativos (type); type: optional; user, store | user |
page | integer | Página desde 1; page: optional; min: 1; max: 100 | 1 |
limit | integer | Límite de resultados; limit: optional; min: 1; max: 100 | 1 |
_ipg | integer | Resultados por página (_ipg); _ipg: optional; 24, 48, 72 | 24 |
_sop | integer | Orden nativo (_sop); _sop: optional; 12, 1, 10, 15, 16, 7 | 12 |
buying_format | integer | Filtros nativos (buying_format); buying_format: optional; 0, 1, 2 | 0 |
LH_ItemCondition | string | Filtros nativos (LH_ItemCondition); LH_ItemCondition: optional; ^(?:3|4|10)(?:\|(?:3|4|10))*$ | - |
free_shipping | boolean | Envío gratis (free_shipping); free_shipping: optional | true |
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 supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/id: /^[A-Za-z0-9_.@-]{1,128}$/
Ejemplos
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.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}