Agregador de Resultados
Aprenda como retornar múltiplas respostas da Web Scraper API como uma única saída maior usando o Result Aggregator.
Como usar
1
Criar um agregador
Exemplo de requisição
curl -X POST https://data.oxylabs.io/v1/aggregators \
-u "USERNAME:PASSWORD" \
-H "Content-Type: application/json" \
-d '{
"name": "amazon_hourly",
"storage_type": "s3",
"storage_url": "s3://my_bucket/batches",
"max_result_count": 10000,
"max_size_bytes": 524288000,
"schedule": "0 */1 * * *"
}'Parâmetros da solicitação
Parâmetro
Descrição
Tipo
2
3
Recuperar informações do agregador
Exemplo de requisição
GET https://data.oxylabs.io/v1/aggregators/{name}Exemplo de resposta
{
"name": "amazon_hourly",
"callback_url": "",
"storage_type": "s3",
"storage_url": "s3://my_bucket/path_for_aggregates",
"max_result_count": 1048576,
"max_size_bytes": 524288000,
"schedule": "0 */1 * * *",
"file_output_type": "jsonl",
"filename_prefix": "",
"filename_suffix": "",
"created_at": "2025-12-05T13:30:32Z",
"usage_statistics": {
"total_result_count": 0,
"total_bytes_delivered": 0,
"total_files_delivered": 0
}
}Entrega e Saída
Entrega automática
Entrega manual
curl -X POST https://data.oxylabs.io/v1/aggregators/amazon_hourly/trigger -u "USERNAME:PASSWORD"Estrutura de saída
Atualizado
Isto foi útil?

