A company's public GitHub repositories by domain
curl --request GET \
--url https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories', 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.aisa.one/apis/v1/predict-leads/companies-github-repositories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "page"
},
"data": [
{
"attributes": {
"description": "<string>",
"first_seen_at": "<string>",
"url": "<string>"
},
"id": "<string>",
"relationships": {
"company": {
"data": {
"id": "<string>",
"type": "<string>"
}
},
"timeseries_datapoints": {
"data": [
{
"id": "<string>",
"type": "<string>"
}
]
}
},
"type": "<string>"
}
],
"included": [
{
"attributes": {
"company_name": "<string>",
"data": {
"forks": 123,
"last_update_at": "<string>",
"stars": 123,
"watches": 123
},
"domain": "<string>",
"ticker": null,
"timestamp": "<string>"
},
"id": "<string>",
"type": "<string>"
}
],
"meta": {
"message": "<string>",
"message_type": "<string>",
"parent_company_domain": null,
"record_state": "<string>",
"redirects_to_domain": null,
"schema_version": "<string>"
}
}PredictLeads
A company's public GitHub repositories by domain
the company→GitHub-org resolution is the value here; a newly published SDK repo is an early signal of a product direction
GET
https://api.aisa.one
/
apis
/
v1
/
predict-leads
/
companies-github-repositories
A company's public GitHub repositories by domain
curl --request GET \
--url https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories', 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.aisa.one/apis/v1/predict-leads/companies-github-repositories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "page"
},
"data": [
{
"attributes": {
"description": "<string>",
"first_seen_at": "<string>",
"url": "<string>"
},
"id": "<string>",
"relationships": {
"company": {
"data": {
"id": "<string>",
"type": "<string>"
}
},
"timeseries_datapoints": {
"data": [
{
"id": "<string>",
"type": "<string>"
}
]
}
},
"type": "<string>"
}
],
"included": [
{
"attributes": {
"company_name": "<string>",
"data": {
"forks": 123,
"last_update_at": "<string>",
"stars": 123,
"watches": 123
},
"domain": "<string>",
"ticker": null,
"timestamp": "<string>"
},
"id": "<string>",
"type": "<string>"
}
],
"meta": {
"message": "<string>",
"message_type": "<string>",
"parent_company_domain": null,
"record_state": "<string>",
"redirects_to_domain": null,
"schema_version": "<string>"
}
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: GET /apis/v1/predict-leads/companies-github-repositories
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/predict-leads/companies-github-repositories - company_id_or_domain: query; 必填
- first_seen_at_from: query; 可选
- first_seen_at_until: query; 可选
- limit: query; 可选
- page: query; 可选
{
"operationId": "predict-leads.companies-github-repositories",
"method": "GET",
"path": "/apis/v1/predict-leads/companies-github-repositories",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "company_id_or_domain",
"required": true,
"schema": {
"description": "company domain or PredictLeads company UUID",
"examples": [
"stripe.com"
],
"type": "string"
}
},
{
"in": "query",
"name": "first_seen_at_from",
"required": false,
"schema": {
"description": "ISO 8601 date — repos first seen after this date",
"examples": [
"2026-08-01"
],
"type": "string"
}
},
{
"in": "query",
"name": "first_seen_at_until",
"required": false,
"schema": {
"description": "ISO 8601 date",
"type": "string"
}
},
{
"in": "query",
"name": "limit",
"required": false,
"schema": {
"description": "default 100, max 1000 — raising it costs nothing extra",
"examples": [
1
],
"type": "integer"
}
},
{
"description": "Next page: the aisa_pagination.next_cursor of the previous response.",
"in": "query",
"name": "page",
"required": false,
"schema": {
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"data": {
"items": {
"additionalProperties": true,
"properties": {
"attributes": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"first_seen_at": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"relationships": {
"additionalProperties": true,
"properties": {
"company": {
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"timeseries_datapoints": {
"additionalProperties": true,
"properties": {
"data": {
"items": {
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"included": {
"items": {
"additionalProperties": true,
"properties": {
"attributes": {
"additionalProperties": true,
"properties": {
"company_name": {
"type": "string"
},
"data": {
"additionalProperties": true,
"properties": {
"forks": {
"type": "integer"
},
"last_update_at": {
"type": "string"
},
"stars": {
"type": "integer"
},
"watches": {
"type": "integer"
}
},
"type": "object"
},
"domain": {
"type": "string"
},
"ticker": {
"type": "null"
},
"timestamp": {
"type": "string"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"meta": {
"additionalProperties": true,
"properties": {
"message": {
"type": "string"
},
"message_type": {
"type": "string"
},
"parent_company_domain": {
"type": "null"
},
"record_state": {
"type": "string"
},
"redirects_to_domain": {
"type": "null"
},
"schema_version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.04 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。翻页
- 把
aisa_pagination.next_cursor作为page(查询参数)传入即可获取下一页;aisa_pagination.has_more为 false 时停止。 - 响应头
X-AISA-Has-More与X-AISA-Next-Cursor返回相同的值。 - 页大小参数:
limit - 结果可能跨页重复,请按稳定的 ID 去重。
响应时间
- 通常 10 秒内返回。
授权
查询参数
响应
Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-14.