LinkFetch AI functions API
LinkFetch's own LinkedIn data. No LinkedIn account needed.
LinkFetch's own LinkedIn data. No LinkedIn account needed.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/linkfetch-io:linkfetch-io-ai-functions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Linkfetch Io AI functions API
version: '2'
contact:
name: LinkFetch
email: info@linkfetch.io
url: https://linkfetch.io
termsOfService: https://linkfetch.io/terms
description: 'Operations tagged AI functions across 2 of this provider''s published API definitions: openapi.json, linkfetch-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://linkfetch.io
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: AI functions
description: LinkFetch's own LinkedIn data. No LinkedIn account needed.
paths:
/v1/ai/score:
post:
operationId: ai_score
tags:
- AI functions
summary: Score up to 25 jobs or companies 0–100 against your criteria, with a reason each
description: 'Score up to 25 jobs or companies 0–100 against your criteria, with a reason each.
1 credit per request, however many rows come back.
MCP tool: `ai_score`.'
x-credits: 1
x-mcp-tool: ai_score
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
records:
minItems: 1
maxItems: 25
type: array
items:
type: object
properties:
type:
type: string
enum:
- job
- company
id:
type: integer
exclusiveMinimum: 0
maximum: 9007199254740991
required:
- type
- id
criteria:
type: string
minLength: 3
maxLength: 2000
required:
- records
- criteria
responses:
'200':
description: OK
headers:
x-credits-remaining:
$ref: '#/components/headers/CreditsRemaining'
content:
application/json:
schema:
$ref: '#/components/schemas/AiResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/OutOfCredits'
default:
$ref: '#/components/responses/Error'
servers:
- url: https://linkfetch.io
/v1/ai/classify:
post:
operationId: ai_classify
tags:
- AI functions
summary: Sort up to 25 jobs or companies into categories you name
description: 'Sort up to 25 jobs or companies into categories you name.
1 credit per request, however many rows come back.
MCP tool: `ai_classify`.'
x-credits: 1
x-mcp-tool: ai_classify
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
records:
minItems: 1
maxItems: 25
type: array
items:
type: object
properties:
type:
type: string
enum:
- job
- company
id:
type: integer
exclusiveMinimum: 0
maximum: 9007199254740991
required:
- type
- id
categories:
minItems: 2
maxItems: 10
type: array
items:
type: string
minLength: 1
maxLength: 60
instructions:
type: string
maxLength: 2000
required:
- records
- categories
responses:
'200':
description: OK
headers:
x-credits-remaining:
$ref: '#/components/headers/CreditsRemaining'
content:
application/json:
schema:
$ref: '#/components/schemas/AiResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/OutOfCredits'
default:
$ref: '#/components/responses/Error'
servers:
- url: https://linkfetch.io
/v1/ai/extract:
post:
operationId: ai_extract
tags:
- AI functions
summary: Pull fields you name (tech stack, remote policy, tools) out of up to 25 records
description: 'Pull fields you name (tech stack, remote policy, tools) out of up to 25 records.
1 credit per request, however many rows come back.
MCP tool: `ai_extract`.'
x-credits: 1
x-mcp-tool: ai_extract
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
records:
minItems: 1
maxItems: 25
type: array
items:
type: object
properties:
type:
type: string
enum:
- job
- company
id:
type: integer
exclusiveMinimum: 0
maximum: 9007199254740991
required:
- type
- id
fields:
minItems: 1
maxItems: 8
type: array
items:
type: object
properties:
name:
type: string
pattern: ^[a-z][a-z0-9_]{0,39}$
description:
type: string
maxLength: 200
required:
- name
- description
required:
- records
- fields
responses:
'200':
description: OK
headers:
x-credits-remaining:
$ref: '#/components/headers/CreditsRemaining'
content:
application/json:
schema:
$ref: '#/components/schemas/AiResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/OutOfCredits'
default:
$ref: '#/components/responses/Error'
servers:
- url: https://linkfetch.io
/v1/ai/write:
post:
operationId: ai_write
tags:
- AI functions
summary: Write a short text per record, like a summary or an outreach opener
description: 'Write a short text per record, like a summary or an outreach opener.
1 credit per request, however many rows come back.
MCP tool: `ai_write`.'
x-credits: 1
x-mcp-tool: ai_write
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
records:
minItems: 1
maxItems: 25
type: array
items:
type: object
properties:
type:
type: string
enum:
- job
- company
id:
type: integer
exclusiveMinimum: 0
maximum: 9007199254740991
required:
- type
- id
instructions:
type: string
minLength: 3
maxLength: 2000
required:
- records
- instructions
responses:
'200':
description: OK
headers:
x-credits-remaining:
$ref: '#/components/headers/CreditsRemaining'
content:
application/json:
schema:
$ref: '#/components/schemas/AiResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/OutOfCredits'
default:
$ref: '#/components/responses/Error'
servers:
- url: https://linkfetch.io
components:
responses:
Error:
description: 'Other errors: 409 account session needs attention, 428 no connected account (`no_account`), 501 not in the API yet (`coming_soon`), 502 LinkedIn failed (`upstream`), 503 `unavailable`, 500 `internal`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
OutOfCredits:
description: Out of credits (`out_of_credits`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, invalid or revoked API key (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: Invalid input (`bad_request`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
required:
- code
- message
required:
- error
AiResult:
type: object
properties:
data:
type: array
items:
type: object
properties:
type:
type: string
enum:
- job
- company
id:
type: integer
name:
type: string
value:
type: string
description: The score (as text), category, extracted fields or written text.
detail:
type:
- string
- 'null'
description: The reason, when there is one.
headers:
CreditsRemaining:
description: Your credit balance after this request, when it was charged.
schema:
type: integer
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Your API key (lf_…) from the dashboard.
apiKeyHeader:
type: apiKey
in: header
name: x-api-key
description: The same API key, as a header.
x-refined-from:
- openapi.json
- linkfetch-io-openapi.json
x-provenance:
method: harvested
publisher: LinkFetch
source: https://linkfetch.io/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)