The Parallel FindAll API enables you to discover and research entities from across the web using natural language. It turns questions like “Find all AI companies that raised Series A funding recently” into structured, enriched databases with verified information.
Beta Notice: The FindAll API is currently in public beta. Endpoints and request/response formats are subject to change. We will provide 30 days’ notice before any breaking changes. For production access, contact support@parallel.ai.
Convert your natural language question into a structured FindAllSpec:
Copy
import requestsAPI_KEY = "YOUR_PARALLEL_API_KEY"BASE_URL = "https://api.parallel.ai"query = "Find all AI companies that raised Series A funding in 2024"ingest_response = requests.post( f"{BASE_URL}/v1beta/findall/ingest", headers={"x-api-key": API_KEY}, json={"query": query})findall_spec = ingest_response.json()print(f"Generated spec with {len(findall_spec['columns'])} columns")
Sample Response:
Copy
{ "name": "funded_companies", "columns": [ { "name": "entity_name", "description": "Name of the funded company", "type": "enrichment", "order_direction": null }, { "name": "ai_product_development_check", "description": "Company must be developing products or services in the field of artificial intelligence (AI).", "type": "constraint", "order_direction": null }, { "name": "series_a_2024_funding_check", "description": "Company must have received Series A funding in 2024.", "type": "constraint", "order_direction": null } ], "query": "Find all companies developing AI products that raised Series A funding in 2024", "title": "AI companies with 2024 Series A"}
import timewhile True: poll_response = requests.get( f"{BASE_URL}/v1beta/findall/runs/{findall_id}", headers={"x-api-key": API_KEY} ) result = poll_response.json() print(f"Status: {result['status']}, Results: {len(result['results'])}") if not result["is_active"] and not result["are_enrichments_active"]: break time.sleep(15) # Poll every 15 seconds# Process resultsprint(f"\nFound {len(result['results'])} companies:")for entity in result['results'][:3]: # Show first 3 print(f"- {entity['name']} (Score: {entity['score']})")
Sample Response:
Copy
{ "is_active": false, "status": "completed", "results": [ { "entity_id": "6d5f6411-9554-4168-b4ad-75b0439f03b7", "name": "Cognition AI", "url": "cognition.ai", "description": "", "filter_results": [ { "key": "ai_product_development_check", "value": "yes", "reasoning": "Cognition AI is described as an applied AI lab that is building the future of software engineering and the makers of Devin, an AI software developer.", "citations": "https://cognition.ai/blog/introducing-devin, https://research.contrary.com/company/cognition", "confidence": "high" }, { "key": "series_a_2024_funding_check", "value": "yes", "reasoning": "Multiple sources confirm that Cognition AI received Series A funding in 2024.", "citations": "https://www.crunchbase.com/funding_round/cognition-5bd7-series-a--d0b08732", "confidence": "high" } ], "enrichment_results": [], "score": 100.0 } ], "candidates": [ { "entity_id": "0b330c38-0034-4f37-b4fe-bdda3e1bdb5c", "name": "Abridge" } ], "max_results": 20, "pages_read": 307, "pages_considered": 1784}