Build with GREP
Integrate the world's most powerful research AI into your applications. Full REST API, 250+ expert-curated skills, 24 MCP tools, and webhook callbacks.
curl -X POST "https://api.grep.ai/v1/grep/research" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"question": "Due diligence on Stripe Inc",
"approach": "general",
"depth": "deep"
}'Documentation
Everything you need to integrate Grep into your applications.
Quickstart
Get up and running in 5 minutes with your first research request.
API Reference
Complete documentation for all endpoints, schemas, and parameters.
Expert Builder
Create custom AI experts with domain-specific skills and knowledge.
MCP Tools
24 tools across 3 servers for web search, scraping, and financial data.
Webhooks
Real-time callbacks when research jobs complete.
Code Examples
Python, JavaScript, and cURL examples for common use cases.
Code Examples
Get started quickly with examples in your preferred language.
Python
import requests
API_KEY = "YOUR_API_KEY"
BASE_URL = "https://api.grep.ai/v1"
# Start due diligence research
response = requests.post(
f"{BASE_URL}/grep/research",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"question": "Complete due diligence on Acme Corp",
"approach": "general",
"depth": "deep"
}
)
job = response.json()
print(f"Job ID: {job['job_id']}")Response
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "complete",
"result": {
"summary": "Stripe Inc is a leading...",
"sections": [...],
"sources": [...],
"confidence": 0.95
},
"created_at": "2024-01-15T10:30:00Z",
"completed_at": "2024-01-15T10:35:00Z"
}Research Depth Modes
Choose the right depth for your use case. Fast for simple lookups, deep for comprehensive analysis.
| Mode | Time | Use Case | Output |
|---|---|---|---|
| ultra_fast | ~15 seconds | Quick lookups, basic info | 300-500 words |
| deep | 2-3 minutes | Standard due diligence | Structured report with chapters |
| ultra_deep | 8-15 minutes | Comprehensive analysis | Full research report with citations |
24 MCP Tools, 3 Servers
Access web search, advanced scraping, screenshots, and real-time financial data through our MCP tool integration.
parallel server
Web search and content fetching with AI summarization
parcha_tools server
Advanced scraping, screenshots, and data extraction
financial_datasets server
SEC filings, stock prices, insider transactions, 13F holdings
{
"question": "Financial health of AAPL",
"mcp_tools": [
"mcp__financial_datasets__getCompanyFacts",
"mcp__financial_datasets__getCompanyFinancials",
"mcp__financial_datasets__getInsiderTransactions"
]
}Ready to Build?
Get your API key and start integrating deep research into your applications.