Shawarma Capital
OpenAPI 3.1.0 Specification and Live Developer Terminal

Shawarma Capital Interactive API Documentation

Machine-readable OpenAPI 3.1.0 specification, live browser request console, and stateless JSON-RPC 2.0 MCP quick-connect for Shawarma Capital primary-source research, SEC EDGAR filings, USASpending.gov awards, insider clusters, and multi-factor alpha screener data. Zero authentication, CORS wildcard, deterministic edge JSON.

OpenAPI Spec
v3.1.0
Live JSON Routes
14 (/api/v1/*)
MCP Read-Only Tools
9 (POST /mcp)
API Schema
v1.0.0
Pure-SVG System Diagram (Zero External JS, Zero CLS)

API Architecture and Primary-Source Data Lineage

Shawarma Capital API Architecture and Data Lineage FlowFour-stage data lineage flow from primary SEC EDGAR, USASpending.gov, and Substack sources through Cloudflare Workers edge sync and deterministic resolvers into public JSON v1 endpoints, OpenAPI 3.1, POST /mcp, and institutional consumers.DATA LINEAGE AND EDGE DELIVERY ARCHITECTUREOPENAPI 3.1.0 | CORS * | ZERO AUTH01 PRIMARY SOURCESSEC EDGAR (16 US)USASpending (97)Substack (96 Memos)Catalysts (17 Events)02 EDGE RESOLVERSCloudflare Cron0 13 * * 1-5 UTCKV + Snapshot MergeZero D1 Hot Path4-Factor + Graph24 Tickers | Deterministic03 PUBLIC INTERFACES14 /api/v1/* JSON/api/v1/openapi.jsonPOST /mcp (9 Tools).ics + Atom + llms.txt04 CONSUMERSQuant PipelinesAI Agents / MCPCalendar + RSSZenodo + HF DOI
Live Browser Console (Zero Auth, CORS *)

Run Live /api/v1/* Request

Click any endpoint below or edit the path and query string, then click Run Request to inspect the live edge JSON response alongside copyable curl and Python snippets.

Open Raw JSON
Ready. Select an endpoint or click Run Request to query https://shawarmacapital.net.
{
  "hint": "Click Run Request or any /api/v1/* pill above to inspect live JSON output.",
  "openapi_url": "https://shawarmacapital.net/api/v1/openapi.json",
  "sample_endpoint": "/api/v1/research?ticker=MRLN"
}

curl Snippet

curl -s "https://shawarmacapital.net/api/v1/research?ticker=MRLN" | jq '.'

Python requests Snippet

import requests

resp = requests.get("https://shawarmacapital.net/api/v1/research?ticker=MRLN", timeout=15)
resp.raise_for_status()
data = resp.json()
print(data.get("schema_version"), data.get("count"))
Model Context Protocol (JSON-RPC 2.0)

POST /mcp Quick-Connect Config

Connect any MCP-compatible AI client directly to POST https://shawarmacapital.net/mcp with zero API keys. Exposes 9 deterministic read-only research tools.

{
  "mcpServers": {
    "shawarma-capital": {
      "transport": "http",
      "url": "https://shawarmacapital.net/mcp",
      "method": "POST",
      "headers": {
        "Content-Type": "application/json",
        "Accept": "application/json"
      }
    }
  }
}
Direct Tool Invocation

POST /mcp Shell Example

Call initialize, ping, tools/list, or tools/call over standard HTTP POST.

curl -s -X POST "https://shawarmacapital.net/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_sec_filings","arguments":{"ticker":"MRLN","form":"8-K","limit":5}}}'

Full tool schemas: /mcp · Machine-readable OpenAPI entry: /api/v1/openapi.json

Read-Only REST Specification

All /api/v1/* Endpoints, Feeds, and Citation Channels

EndpointQuery ParametersDescriptionInspect
GET /api/v1/healthnoneService status, weekday EDGAR cron (0 13 * * 1-5), KV/snapshot sync telemetry, and route directory.JSON · Try
GET /api/v1/research?ticker=MRLN24 covered tickers, verified cap-table facts, 96 Substack memo links, and SEC filing counts.JSON · Try
GET /api/v1/screener?ticker=AMKR, ?sector=Defense, ?min_score=50Deterministic 4-factor composite alpha screener across all 24 covered tickers with transparent factor weights.JSON · Try
GET /api/v1/signals?ticker=LPTH, ?cluster=true, ?dilution=ACTIVE_SHELF_WATCH16 US tickers with 30/90/180d Form 4 insider clusters and S-3/424B5 dilution overhang tiers.JSON · Try
GET /api/v1/insiders?ticker=AMKR, ?kind=clusterScored insider conviction vs shelf-dilution overhang matrix across 16 US tickers with quadrant classifications.JSON · Try
GET /api/v1/contracts?ticker=PL, ?agency=DoD97 USASpending.gov prime federal awards ($186.43M) across 11 covered tickers.JSON · Try
GET /api/v1/activist?ticker=SHAZ, ?flag=ACTIVIST_13D_PRESENT206 live Form 8-K item-code filings, 23 Schedule 13D activist stakes, and 107 Schedule 13G filings across 16 US tickers.JSON · Try
GET /api/v1/archive?ticker=MRLN, ?q=germaniumComplete 96-memo publication ledger with monthly cadence, canonical Substack URLs, and dossier links.JSON · Try
GET /api/v1/graph?ticker=MRLN, ?node_type=agency47-node, 241-edge verified knowledge graph joining tickers, agencies, sectors, and signal tiers.JSON · Try
GET /api/v1/briefs?ticker=PL, ?category=federal_contracts30 verified primary-source institutional signal wire briefs with grounding metadata.JSON · Try
GET /api/v1/catalysts?ticker=IAM, ?status=Confirmed, ?category=...17 dated filing milestones, capital-structure resets, and regulatory windows.JSON · Try
GET /api/v1/filings?ticker=MRLN, ?form=8-K, ?q=10-Q231 primary-source SEC EDGAR filings across 16 US tickers with direct sec.gov URLs.JSON · Try
GET /api/v1/track-record?ticker=RBRK9 verified August 18, 2026 realized exits and the transparent public corrections ledger.JSON · Try
GET /api/v1/openapi.jsonnoneMachine-readable OpenAPI 3.1.0 schema covering all /api/v1/* endpoints, /feeds/catalysts.ics, and POST /mcp.JSON · Try
GET /feeds/catalysts.ics?ticker=MRLNRFC 5545 iCalendar catalyst schedule feed (CORS *, 900s cache).Open ICS
POST /mcpJSON-RPC 2.0 bodyStateless read-only HTTP MCP server (9 research tools, CORS *).MCP Docs