Skip to main content
Piramyd ships two self-hosted web intelligence services alongside its inference endpoints, and both are accessible with your existing API key. SIRS handles multi-engine web search. CROWD handles single-URL scraping, full-site crawling, structured data extraction, and more. You don’t need separate accounts, separate SDKs, or separate billing — one key unlocks everything.

POST /v1/search

Search the web across multiple engines and receive ranked results with snippets, source engines, relevance scores, and publication dates. Request fields Response shape
full_content is only present when include_content: true was set.
When you need page content alongside search results, use POST /v1/crowd/search instead. It runs the search and scrapes each result in a single pipeline call, which is faster and more reliable than enabling include_content on /v1/search.

CROWD — Single URL Scrape

POST /v1/scrape

Fetch and clean the content of a single URL. Returns markdown, HTML, links, or a screenshot depending on the formats you request. The legacy alias POST /v1/fetch redirects here. Request fields Response shape
html, links, and screenshot are only present when included in formats.

CROWD — Search + Scrape

POST /v1/crowd/search

Run a web search and automatically scrape the full content of every result in a single call. Prefer this over POST /v1/search with include_content: true when you need enriched results — CROWD’s native pipeline is faster and more reliable. Request fields
Use POST /v1/crowd/search as your default search entry point when you need content, not just links. It eliminates the extra scrape round trips you’d otherwise have to make.

CROWD — Crawl a Site

POST /v1/crawl — start an async crawl

Crawl an entire site asynchronously. The endpoint returns a job_id immediately; poll for results separately. Request fields

GET /v1/crawl/{job_id} — poll for results

status values: scraping (in progress), completed, failed, cancelled.

DELETE /v1/crawl/{job_id} — cancel


CROWD — Map Site URLs

POST /v1/map

Discover all URLs on a site without fetching page content. Much faster than a full crawl — use it to understand site structure and select specific pages before committing to a crawl or extract. Request fields
Response
Call POST /v1/map before POST /v1/crawl on large sites. Inspect the URL list, filter it down to the pages you actually need, then pass those specific URLs to POST /v1/extract — much more efficient than crawling the entire site.

CROWD — Structured Extraction

POST /v1/extract

Use an LLM to extract structured data from up to 20 URLs simultaneously. Describe what you want in prompt and optionally enforce output shape with a JSON Schema in schema. Large extractions return status: "processing" with a job_id you can poll; small ones complete synchronously.
Key fields: urls (max 20), prompt (required), schema (optional JSON Schema), system_prompt, allow_external_links, timeout_seconds (10–120s).

CROWD — Generate llms.txt

POST /v1/llmstxt

Generate an llms.txt file for any website — a structured plain-text document of the site’s content optimised for injection into an LLM context window. Set show_full_text: true to also receive a llmsfulltxt field with complete page content.
Key fields: url (required), max_urls (1–100, default 10), show_full_text (default false), timeout_seconds (10–120s).

Usage Patterns

Here are two complete examples that combine multiple CROWD endpoints. One-shot enriched search
Map → extract structured data