Skip to main content
POST
/
api
/
yc
/
search
/
companies
/yc/search/companies
curl --request POST \
  --url https://api.anysite.io/api/yc/search/companies \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 123,
  "timeout": 300,
  "query": "",
  "industries": [
    "<string>"
  ],
  "regions": [
    "<string>"
  ],
  "batches": [
    "<string>"
  ],
  "is_hiring": true,
  "nonprofit": true,
  "top_company": true,
  "team_size_min": 2,
  "team_size_max": 123,
  "sort_by": "relevance"
}
'
import requests

url = "https://api.anysite.io/api/yc/search/companies"

payload = {
"count": 123,
"timeout": 300,
"query": "",
"industries": ["<string>"],
"regions": ["<string>"],
"batches": ["<string>"],
"is_hiring": True,
"nonprofit": True,
"top_company": True,
"team_size_min": 2,
"team_size_max": 123,
"sort_by": "relevance"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}

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

print(response.text)
const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 123,
timeout: 300,
query: '',
industries: ['<string>'],
regions: ['<string>'],
batches: ['<string>'],
is_hiring: true,
nonprofit: true,
top_company: true,
team_size_min: 2,
team_size_max: 123,
sort_by: 'relevance'
})
};

fetch('https://api.anysite.io/api/yc/search/companies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/yc/search/companies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 123,
'timeout' => 300,
'query' => '',
'industries' => [
'<string>'
],
'regions' => [
'<string>'
],
'batches' => [
'<string>'
],
'is_hiring' => true,
'nonprofit' => true,
'top_company' => true,
'team_size_min' => 2,
'team_size_max' => 123,
'sort_by' => 'relevance'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.anysite.io/api/yc/search/companies"

payload := strings.NewReader("{\n \"count\": 123,\n \"timeout\": 300,\n \"query\": \"\",\n \"industries\": [\n \"<string>\"\n ],\n \"regions\": [\n \"<string>\"\n ],\n \"batches\": [\n \"<string>\"\n ],\n \"is_hiring\": true,\n \"nonprofit\": true,\n \"top_company\": true,\n \"team_size_min\": 2,\n \"team_size_max\": 123,\n \"sort_by\": \"relevance\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/yc/search/companies")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 123,\n \"timeout\": 300,\n \"query\": \"\",\n \"industries\": [\n \"<string>\"\n ],\n \"regions\": [\n \"<string>\"\n ],\n \"batches\": [\n \"<string>\"\n ],\n \"is_hiring\": true,\n \"nonprofit\": true,\n \"top_company\": true,\n \"team_size_min\": 2,\n \"team_size_max\": 123,\n \"sort_by\": \"relevance\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.anysite.io/api/yc/search/companies")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 123,\n \"timeout\": 300,\n \"query\": \"\",\n \"industries\": [\n \"<string>\"\n ],\n \"regions\": [\n \"<string>\"\n ],\n \"batches\": [\n \"<string>\"\n ],\n \"is_hiring\": true,\n \"nonprofit\": true,\n \"top_company\": true,\n \"team_size_min\": 2,\n \"team_size_max\": 123,\n \"sort_by\": \"relevance\"\n}"

response = http.request(request)
puts response.read_body
[
  {
    "id": 123,
    "name": "<string>",
    "slug": "<string>",
    "@type": "YCCompany",
    "website": "<string>",
    "one_liner": "<string>",
    "long_description": "<string>",
    "team_size": 123,
    "industry": "<string>",
    "subindustry": "<string>",
    "industries": [],
    "regions": [],
    "batch": "<string>",
    "status": "<string>",
    "stage": "<string>",
    "tags": [],
    "is_hiring": true,
    "nonprofit": true,
    "top_company": true,
    "launched_at": 123,
    "all_locations": "<string>",
    "small_logo_thumb_url": "<string>",
    "former_names": [],
    "app_video_public": true,
    "demo_day_video_public": true,
    "app_answers": true,
    "question_answers": true,
    "founders": [],
    "jobs": [],
    "social_links": {
      "@type": "YCSocialLinks",
      "linkedin": "<string>",
      "twitter": "<string>",
      "facebook": "<string>",
      "crunchbase": "<string>",
      "github": "<string>"
    },
    "year_founded": 123,
    "city": "<string>",
    "country": "<string>",
    "logo_url": "<string>",
    "news_items": [],
    "launches": [],
    "company_photos": [],
    "primary_partner": {
      "name": "<string>",
      "@type": "YCPartner",
      "url": "<string>"
    }
  }
]
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required
timeout
integer
default:300
Required range: 20 <= x <= 1500
query
string
default:""
industries
string[] | null
regions
string[] | null
batches
string[] | null
is_hiring
boolean | null
nonprofit
boolean | null
top_company
boolean | null
team_size_min
integer | null
Required range: x >= 1
team_size_max
integer | null
Required range: x <= 10000
sort_by
enum<string>
default:relevance
Available options:
relevance,
launch_date

Response

Successful Response

id
integer
required
name
string
required
slug
string
required
@type
string
default:YCCompany
website
string | null
one_liner
string | null
long_description
string | null
team_size
integer | null
industry
string | null
subindustry
string | null
industries
string[]
regions
string[]
batch
string | null
status
string | null
stage
string | null
tags
string[]
is_hiring
boolean | null
nonprofit
boolean | null
top_company
boolean | null
launched_at
integer | null
all_locations
string | null
small_logo_thumb_url
string | null
former_names
string[]
app_video_public
boolean | null
demo_day_video_public
boolean | null
app_answers
boolean | null
question_answers
boolean | null
founders
object[]
jobs
object[]
year_founded
integer | null
city
string | null
country
string | null
logo_url
string | null
news_items
object[]
launches
object[]
company_photos
object[]
primary_partner
object | null