API Documentation

Complete reference for the Lynk API Platform. Base URL: https://api.lynk.run

Authentication

Authenticate your requests using your API key. You can pass it in two ways:

Option 1: Bearer Token (recommended)

bash
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.lynk.run/bgp/v1/upstreams/13335

Option 2: URL Parameter

bash
curl "https://api.lynk.run/bgp/v1/upstreams/13335?key=YOUR_API_KEY"

Public Access

You can also make unauthenticated requests using the public key openusage, limited to 5 requests per day per IP address.

bash
curl "https://api.lynk.run/bgp/v1/upstreams/13335?key=openusage"
BGP Upstream API1 token

Look up BGP upstreams for any ASN. Returns real-time routing intelligence with provider details and relationships.

Endpoint

GET /bgp/v1/upstreams/:asn

Parameters

ParameterTypeDescription
asnintegerThe Autonomous System Number to look up

Example Request

bash
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.lynk.run/bgp/v1/upstreams/13335

Example Response

json
{
  "asn": 13335,
  "name": "Cloudflare, Inc.",
  "upstreams": {
    "ipv4": [
      {
        "asn": 174,
        "name": "COGENT-174",
        "description": "Cogent Communications"
      },
      {
        "asn": 1299,
        "name": "TWELVE99",
        "description": "Telia"
      }
    ],
    "ipv6": [
      {
        "asn": 174,
        "name": "COGENT-174",
        "description": "Cogent Communications"
      },
      {
        "asn": 1299,
        "name": "TWELVE99",
        "description": "Telia"
      }
    ]
  },
  "upstream_count": {
    "ipv4": 2,
    "ipv6": 2
  },
  "source": "CAIDA AS-Rank"
}
AI Phone API10 tokens

Make AI-powered outbound phone calls. Sales outreach, customer check-ins, competitive intel gathering — all via API.

Make a Call

POST /phone/v1/call

Request Body

json
{
  "to": "+4930123456789",
  "prompt": "Call this business and ask about their DDoS protection services. Get pricing info.",
  "language": "en"
}

List Call History

GET /phone/v1/calls1 token
Competitive Intel API2 tokens

Get competitive intelligence and market analysis. Track competitors, identify market opportunities, and gather business insights.

Endpoint

GET /intel/v1/competitors

Query Parameters

ParameterTypeDescription
companystringCompany name or domain
industrystringIndustry sector (optional)

Example

bash
curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.lynk.run/intel/v1/competitors?company=link11.com"
Rate Limits & Error Codes
CodeDescription
200Success
401Invalid API key
402Insufficient tokens
429Rate limit exceeded (public access: 5/day)

Lynk — A Link11 Initiative