POST
/
lam
/
run
curl --request POST \
  --url https://api.raccoonai.tech/lam/run \
  --header 'Content-Type: application/json' \
  --header 'raccoon-secret-key: <api-key>' \
  --data '{
  "query": "Find YCombinator startups who got funded in W24.",
  "chat_history": [],
  "app_url": "https://www.ycombinator.com/companies",
  "schema": {
    "address": {
      "city": "What city is the company located in?",
      "country": "Which country is the company located in?"
    },
    "funding_season": "The funding season like W24 as a string",
    "name": "Name of the company as a string"
  },
  "max_count": 5,
  "stream": true,
  "mode": "deepsearch",
  "raccoon_passcode": "<end-user-raccoon-passcode>",
  "advanced": {
    "block_ads": true,
    "proxy": {
      "city": "sanfrancisco",
      "country": "us",
      "state": "ca",
      "zip": 94102
    },
    "solve_captchas": true
  }
}'
{
  "task_status": "DONE",
  "message": "The price of iPhone 16 on Amazon is $729.97.",
  "data": [
    {
      "address": {
        "city": "San Francisco",
        "country": "USA"
      },
      "funding_season": "W24",
      "name": "Granza Bio"
    },
    {
      "address": {
        "city": "London",
        "country": "United Kingdom"
      },
      "funding_season": "W24",
      "name": "Konstructly"
    }
  ],
  "properties": {
    "sessionId": "1234"
  },
  "livestream_url": "https://api.raccoonai.tech/sessions/session_12345/stream?enable_actions=true&theme=dark"
}

The following features are currently experimental:

  • Proxies
  • CAPTCHA Solving
  • Deep Search

If you run into any issues, please report back to us through mail or use support center on the bottom right.

Authorizations

raccoon-secret-key
string
header
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.