Skip to main content

Create your API key

Get an API key to authenticate your requests. Go to our Console and create a new API key.

Get Cala's API key

Create a free Cala account and get your API key.

Make your first request

With your API key in hand, you can make your first request to the Cala API.
import requests

url = "https://api.cala.ai/v1/knowledge/query"

query = "startups.location=Spain.funding>10M.funding<50M"
payload = { "input": query }
headers = {
    "X-API-KEY": "YOUR_API_KEY",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())

Get Structured Results

[
  { "name": "Luzia", "funding": "13M", "location": "Spain" },
  { "name": "Nomad Solar", "funding": "15M", "location": "Spain" },
  { "name": "Embat", "funding": "21.5M", "location": "Spain" },
  { "name": "Matteco", "funding": "16M+", "location": "Spain" },
  { "name": "Exoticca", "funding": "25.2M", "location": "Spain" },
  { "name": "Multiverse Computing", "funding": "12.5M", "location": "Spain" }
]
No parsing. No deduplication. No hallucinated data. Typed, verified, deterministic.

Next steps

That’s it! You can now start using Cala to build your own applications. You can deep dive into our API to learn more about the available endpoints, params and responses in our API Reference section.