# capi2 Agent Intelligence Toolkit (`capi2/my-actor`) Actor

Verify claims, extract evidence, research domains, inspect public web pages, and audit APIs. Structured agent-ready results with transparent per-result pricing.

- **URL**: https://apify.com/capi2/my-actor.md
- **Developed by:** [Dries Van Durme](https://apify.com/capi2) (community)
- **Categories:** AI, Agents, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 intelligence results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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

## capi2 Agent Intelligence Toolkit

Run public-source intelligence jobs for autonomous agents, procurement teams, vendor-risk workflows and API builders. Every run returns one machine-readable dataset item suitable for agent chaining through the Apify API or MCP server.

### Tools

- **Verify a claim** — compare an exact claim with text from one supplied public webpage.
- **Extract evidence** — return the passages most relevant to a question or claim.
- **Domain intelligence** — collect public DNS, HTTPS, TLS and optional RDAP facts.
- **Live web lookup** — retrieve a public webpage or JSON API and return structured metadata, excerpts and ranked passages.
- **Audit an API** — check OpenAPI, x402, agent manifest, robots, llms and health discovery surfaces.

### Input

Choose `tool` and provide the matching fields:

- `claim_verify`: `url` and `query`
- `evidence_extract`: `url` and `query`
- `domain_intelligence`: `domain`
- `web_lookup`: `url`, with optional `query`
- `api_audit`: `url`

### Output and pricing

Each completed operation writes exactly one structured item to the default dataset and emits the pay-per-event event `result`. Set this Actor to **Pay per event** in Apify Console with `result` as the primary event. Keep Actor permissions limited and Standby mode disabled so the Actor is eligible for agentic x402 discovery.

Recommended initial price: **$0.01 per result**. Apify applies its own platform revenue share and compute costs.

### Safety and limitations

- Public HTTP(S) sources only; private/reserved network targets and embedded credentials are blocked.
- Results are informational and do not certify a vendor, domain or claim.
- Claim verification is lexical evidence analysis, not a substitute for independent review in consequential decisions.
- A missing statement on one supplied page is not proof that a claim is false.

# Actor input Schema

## `tool` (type: `string`):

Intelligence operation to run.

## `url` (type: `string`):

Public HTTP(S) source or API URL. Required except for domain intelligence.

## `domain` (type: `string`):

Domain name for domain intelligence, for example example.com.

## `query` (type: `string`):

Exact claim to verify or keywords/question used to rank passages.

## `request_type` (type: `string`):

Business context used to classify and format a claim-verification result.

## `max_passages` (type: `integer`):

Maximum number of ranked source passages returned in the result.

## `max_bytes` (type: `integer`):

Maximum number of bytes fetched from the public source URL.

## `include_rdap` (type: `boolean`):

Whether domain intelligence should include public RDAP registration data.

## Actor input object example

```json
{
  "tool": "claim_verify",
  "url": "https://example.com",
  "domain": "example.com",
  "query": "This is the Example Domain.",
  "request_type": "fact_check",
  "max_passages": 5,
  "max_bytes": 200000,
  "include_rdap": true
}
```

# Actor output Schema

## `results` (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 = {
    "url": "https://example.com",
    "domain": "example.com",
    "query": "This is the Example Domain."
};

// Run the Actor and wait for it to finish
const run = await client.actor("capi2/my-actor").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 = {
    "url": "https://example.com",
    "domain": "example.com",
    "query": "This is the Example Domain.",
}

# Run the Actor and wait for it to finish
run = client.actor("capi2/my-actor").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 '{
  "url": "https://example.com",
  "domain": "example.com",
  "query": "This is the Example Domain."
}' |
apify call capi2/my-actor --silent --output-dataset

```

## MCP server setup

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

```

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/8hiiNkfbCyVPtDJjG/builds/WoJPzwWs93ZNfOMot/openapi.json
