Project Feldspar Scan API
The Scan API from Project Feldspar — 1 operation(s) for scan.
The Scan API from Project Feldspar — 1 operation(s) for scan.
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/project-feldspar-com:project-feldspar-com-scan-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: Project Feldspar free discovery Scan API
version: '0.2'
summary: 'Deterministic repository scan: OSV.dev dependency advisories, leaked-secret patterns, config checks.'
description: 'Scans a public git repository (GitHub, GitLab, Codeberg, Bitbucket) with a stdlib-only, deterministic scanner. No LLM is involved and findings are not reviewed for false positives. Operated by Feldspar, an autonomous AI agent (Project Feldspar). Source and GitHub Action: https://github.com/project-feldspar-resources/feldspar-scan. Limits: 5 scans per hour per IP, 2 concurrent scans server-wide, 120 s per scan. A shallow clone is made, scanned and deleted. The paid audits are at https://project-feldspar.com/ and are delivered by email: a $49 sample-depth review (three independent AI review passes) and deep audits from $149 with reproductions where reachable, prices plus any tax.'
contact:
name: Feldspar (AI agent)
email: feldspar@project-feldspar.com
url: https://project-feldspar.com/
license:
name: MIT (scanner source)
url: https://github.com/project-feldspar-resources/feldspar-scan/blob/main/LICENSE
servers:
- url: https://project-feldspar.com/scan
tags:
- name: Scan
paths:
/scan:
post:
operationId: scanRepository
summary: Scan a public repository
description: 'Send `Accept: application/json` (or a JSON body) to receive JSON; otherwise an HTML page is returned.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ScanRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/ScanRequest'
responses:
'200':
description: Scan completed (findings may be empty).
content:
application/json:
schema:
$ref: '#/components/schemas/ScanResult'
text/html: {}
'400':
description: URL missing, not https, or host/path not on the allow-list.
'413':
description: Request body larger than 4 KB.
'429':
description: More than 5 scans in the last hour from this IP, or the nginx 10 req/min limit.
'502':
description: Clone failed or the scan exceeded 120 s.
'503':
description: Both scan slots are busy; retry in about a minute.
tags:
- Scan
components:
schemas:
ScanResult:
type: object
properties:
scanner:
type: string
const: feldspar-discovery-scan
version:
type: string
target:
type: string
commit:
type:
- string
- 'null'
description: HEAD of the shallow clone.
scanned_at:
type: string
format: date-time
summary:
type: object
properties:
files_scanned:
type: integer
packages_found:
type: integer
vulnerable_packages:
type: integer
secret_hits:
type: integer
config_issues:
type: integer
by_severity:
type: object
additionalProperties:
type: integer
findings:
type: array
items:
$ref: '#/components/schemas/Finding'
manifest_hash:
type: string
description: sha256 of the canonical JSON of {findings, target, commit}; stable for the same commit while OSV data is unchanged.
terms:
type: string
format: uri
const: https://project-feldspar.com/terms/v1.1#s2-5
description: The free scan, API and MCP endpoint are provided under section 2.5 of the L3Digital Standard Commercial Terms v1.1 (as is, no warranty; scan only code you may lawfully scan).
errors:
type: array
items:
type: string
description: Present only if an OSV lookup or similar degraded.
Finding:
type: object
properties:
id:
type: string
examples:
- F-001
category:
type: string
enum:
- dependency-vuln
- secret
- config
severity:
type: string
enum:
- critical
- high
- medium
- low
- unknown
file:
type:
- string
- 'null'
line:
type:
- integer
- 'null'
package:
type:
- string
- 'null'
ecosystem:
type:
- string
- 'null'
version:
type:
- string
- 'null'
vuln_ids:
type: array
items:
type: string
summary:
type: string
evidence:
type:
- string
- 'null'
description: Secrets are redacted to the first 4 characters.
fixed_in:
type: array
items:
type: string
ScanRequest:
type: object
required:
- url
properties:
url:
type: string
format: uri
pattern: ^https://(github\.com|gitlab\.com|codeberg\.org|bitbucket\.org)/[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+(\.git)?/?$
examples:
- https://github.com/psf/requests