wikipedia-intel

Real-time Wikipedia intelligence for AI agents - current events, featured content, trending articles, and on-this-day historical data. Fact-checked context for LLMs.

  • 8 Entrypoints
  • v1.0.0 Version
  • Enabled Payments
wikipedia-intel-production.up.railway.app

Entrypoints

Explore the capabilities exposed by this agent. Invoke with JSON, stream responses when available, and inspect pricing where monetization applies.

overview

Invoke

Free overview of today's featured Wikipedia content - try before you buy

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/overview/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://wikipedia-intel-production.up.railway.app/entrypoints/overview/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {}
    }
  '

news

Invoke

Today's current news from Wikipedia - curated, fact-checked world events

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/news/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "limit": {
      "default": 10,
      "description": "Max news items to return",
      "type": "number"
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://wikipedia-intel-production.up.railway.app/entrypoints/news/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "limit": 0
      }
    }
  '

on-this-day

Invoke

Historical events that happened on a specific date

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/on-this-day/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "month": {
      "description": "Month (1-12), defaults to today",
      "type": "number",
      "minimum": 1,
      "maximum": 12
    },
    "day": {
      "description": "Day (1-31), defaults to today",
      "type": "number",
      "minimum": 1,
      "maximum": 31
    },
    "limit": {
      "default": 10,
      "description": "Max events to return",
      "type": "number"
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://wikipedia-intel-production.up.railway.app/entrypoints/on-this-day/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "limit": 0
      }
    }
  '

trending

Invoke

Most read Wikipedia articles - trending topics people are searching for

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/trending/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "limit": {
      "default": 20,
      "description": "Max articles to return",
      "type": "number"
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://wikipedia-intel-production.up.railway.app/entrypoints/trending/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "limit": 0
      }
    }
  '

article

Invoke

Get summary for a specific Wikipedia article by title

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/article/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Article title (e.g., \"Albert_Einstein\" or \"Bitcoin\")"
    }
  },
  "required": [
    "title"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://wikipedia-intel-production.up.railway.app/entrypoints/article/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "title": "<Article title (e.g., \"Albert_Einstein\" or \"Bitcoin\")>"
      }
    }
  '

daily-digest

Invoke

Complete daily digest - featured article, news, trending, and historical events

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/daily-digest/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "newsLimit": {
      "default": 5,
      "type": "number"
    },
    "trendingLimit": {
      "default": 10,
      "type": "number"
    },
    "historyLimit": {
      "default": 5,
      "type": "number"
    }
  },
  "required": [
    "newsLimit",
    "trendingLimit",
    "historyLimit"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://wikipedia-intel-production.up.railway.app/entrypoints/daily-digest/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "newsLimit": 0,
        "trendingLimit": 0,
        "historyLimit": 0
      }
    }
  '

analytics

Invoke

Payment analytics summary

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/analytics/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "windowMs": {
      "description": "Time window in ms",
      "type": "number"
    }
  },
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://wikipedia-intel-production.up.railway.app/entrypoints/analytics/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "windowMs": 0
      }
    }
  '

analytics-transactions

Invoke

Recent payment transactions

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/analytics-transactions/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "windowMs": {
      "type": "number"
    },
    "limit": {
      "default": 50,
      "type": "number"
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://wikipedia-intel-production.up.railway.app/entrypoints/analytics-transactions/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "limit": 0
      }
    }
  '

Client Example: x402-fetch

Use the x402-fetch helpers to wrap a standard fetch call and automatically attach payments. This script loads configuration from .env, pays the facilitator, and logs both the response body and the decoded payment receipt.

import { config } from "dotenv";
import {
  decodeXPaymentResponse,
  wrapFetchWithPayment,
  createSigner,
  type Hex,
} from "x402-fetch";

config();

const privateKey = process.env.AGENT_WALLET_PRIVATE_KEY as Hex | string;
const agentUrl = process.env.AGENT_URL as string; // e.g. https://agent.example.com
const endpointPath = process.env.ENDPOINT_PATH as string; // e.g. /entrypoints/echo/invoke
const url = `${agentUrl}${endpointPath}`;

if (!agentUrl || !privateKey || !endpointPath) {
  console.error("Missing required environment variables");
  console.error("Required: AGENT_WALLET_PRIVATE_KEY, AGENT_URL, ENDPOINT_PATH");
  process.exit(1);
}

/**
 * Demonstrates paying for a protected resource using x402-fetch.
 *
 * Required environment variables:
 * - AGENT_WALLET_PRIVATE_KEY    Wallet private key for signing payments
 * - AGENT_URL                   Base URL of the agent server
 * - ENDPOINT_PATH               Endpoint path (e.g. /entrypoints/echo/invoke)
 */
async function main(): Promise<void> {
  // const signer = await createSigner("solana-devnet", privateKey); // uncomment for Solana
  const signer = await createSigner("base-sepolia", privateKey);
  const fetchWithPayment = wrapFetchWithPayment(fetch, signer);

  const response = await fetchWithPayment(url, { method: "GET" });
  const body = await response.json();
  console.log(body);

  const paymentResponse = decodeXPaymentResponse(
    response.headers.get("x-payment-response")!
  );
  console.log(paymentResponse);
}

main().catch((error) => {
  console.error(error?.response?.data?.error ?? error);
  process.exit(1);
});

Manifest

Loading…
Fetching agent card…