Build a real-time company research system using the Linkup API.
schema.py
:
company_intel.py
to handle the core functionality:
api.py
:
main.py
and add the following code to it:
http://localhost:8000/docs
.
GET /company/{name}
, and click on the Try it out
button.
Vercel
, and click on the Execute
button.
/company/Vercel
returns:
Field | Type | Description | Example |
---|---|---|---|
name | string | Company name | ”Vercel” |
website | string | Company website URL | ”https://vercel.com” |
description | string | Brief company description | ”Vercel is a cloud platform…“ |
latest_funding | string | Most recent funding information | ”Series D - $150M (December 2023)“ |
recent_news | array | List of recent news headlines | [“Vercel announces…”, “New Next.js 14…“] |
leadership_team | array | List of key leadership members | [“Guillermo Rauch - CEO”, …] |
tech_stack | array | List of technologies used | [“Next.js”, “React”, …] |
news_sentiment | float | Optional sentiment score | 0.8 |
company_size | string | Optional size estimation | ”Large Enterprise” |