# CatchAll \[By jobId] Pull Job Results (`newscatcher/catchall-pull-results`) Actor

Pull completed results for a job. Optional poll-until-complete mode.

- **URL**: https://apify.com/newscatcher/catchall-pull-results.md
- **Developed by:** [Newscatcher-CatchAll](https://apify.com/newscatcher) (community)
- **Categories:** AI, Automation, News
- **Stats:** 1 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## CatchAll Pull Results — retrieve completed job records

CatchAll Pull Results retrieves all validated records from a CatchAll job. Each record contains structured data with source citations. Results are saved to an Apify Dataset for easy export as JSON, CSV, or Excel.

This Actor maps to the [`GET /catchAll/pull/{job_id}`](https://www.newscatcherapi.com/docs/web-search-api/api-reference/jobs/get-job-results) endpoint.

### When to use this Actor

- **Retrieve results from a completed job.** After [CatchAll Get Job Status](https://apify.com/newscatcher/catchall-get-job-status) confirms the job is done, use this Actor to fetch all records.
- **Poll and pull in one step.** Enable `pollUntilCompleted` to have this Actor wait for the job to finish before pulling results — no need to chain with the status Actor.
- **Re-download results.** Run this Actor again with the same `jobId` at any time to get the results again.
- **Chain in automated pipelines.** Trigger this Actor after [CatchAll Create Job](https://apify.com/newscatcher/catchall-create-job) succeeds using Apify integrations.

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `apiKey` | String | Yes | Your CatchAll API key |
| `jobId` | String | Yes | Job ID to pull results for |
| `pageSize` | Integer | No | Records per page (default: 100) |
| `maxPages` | Integer | No | Stop pagination after N pages; 0 for unlimited (default: 0) |
| `pollUntilCompleted` | Boolean | No | If enabled, poll job status until completed before pulling results (default: false) |
| `pollIntervalSeconds` | Integer | No | Seconds between status checks when polling (default: 60) |
| `timeoutMinutes` | Integer | No | Maximum minutes to wait for completion when polling (default: 30) |

#### Input example — pull from a completed job

```json
{
  "apiKey": "YOUR_CATCHALL_API_KEY",
  "jobId": "5f0c9087-85cb-4917-b3c7-e5a5eff73a0c"
}
```

#### Input example — poll until complete, then pull

```json
{
  "apiKey": "YOUR_CATCHALL_API_KEY",
  "jobId": "5f0c9087-85cb-4917-b3c7-e5a5eff73a0c",
  "pollUntilCompleted": true,
  "pollIntervalSeconds": 30,
  "timeoutMinutes": 20
}
```

### Output

The Actor saves each record to the default Dataset. Each record includes an `enrichment` object with structured data and a `citations` array with source documents.

#### Output example

```json
{
  "record_id": "6983973854314692457",
  "record_title": "VulnCheck Raises $25M Series B Funding",
  "enrichment": {
    "enrichment_confidence": "high",
    "funding_amount": 25000000,
    "funding_currency": "USD",
    "investee_company": {
      "source_text": "VulnCheck",
      "confidence": 0.99,
      "metadata": {
        "name": "VulnCheck",
        "domain_url": "vulncheck.com",
        "domain_url_confidence": "high"
      }
    }
  },
  "citations": [
    {
      "title": "Exclusive: VulnCheck raises $25M funding",
      "link": "https://example.com/article",
      "published_date": "2026-02-17T10:00:00Z"
    }
  ]
}
```

Fields inside `enrichment` are dynamic and vary per job. See the [dynamic schemas guide](https://www.newscatcherapi.com/docs/web-search-api/guides-and-concepts/dynamic-schemas) for integration patterns.

### Tips

- **Use `pollUntilCompleted: true` for simple pipelines.** This lets you chain CatchAll Create Job → CatchAll Pull Results without a separate status-polling step in between.
- **Set `maxPages` as a safety limit** when you're unsure how large the result set is.

### Other CatchAll Actors

| Actor | Description |
|-------|-------------|
| [CatchAll](https://apify.com/newscatcher/catchall) | End-to-end job: submit, poll, and retrieve results |
| [CatchAll Create Job](https://apify.com/newscatcher/catchall-create-job) | Submit a job without polling |
| [CatchAll Get Job Status](https://apify.com/newscatcher/catchall-get-job-status) | Check job progress |
| [CatchAll Continue](https://apify.com/newscatcher/catchall-continue) | Expand a job to process more records |

For the full list, visit the [Newscatcher](https://apify.com/newscatcher) organization page.

### Resources

- [CatchAll documentation](https://www.newscatcherapi.com/docs/web-search-api/get-started/introduction)
- [Jobs guide](https://www.newscatcherapi.com/docs/web-search-api/guides-and-concepts/jobs)

# Actor input Schema

## `apiKey` (type: `string`):

Your CatchAll API key (sent as x-api-key header).

## `jobId` (type: `string`):

Job Id

## `page` (type: `integer`):

Page

## `pageSize` (type: `integer`):

Page Size

## Actor input object example

```json
{
  "page": 1,
  "pageSize": 100
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `kvOutput` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("newscatcher/catchall-pull-results").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("newscatcher/catchall-pull-results").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call newscatcher/catchall-pull-results --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,newscatcher/catchall-pull-results"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/rjIw9ugNTFAS6cNHf/builds/V7nqBYefOeHRS8DSr/openapi.json
