PkgSeek Elf API

Read-only ELF, shared-library symbol and ABI analysis

GitHub OpenAPI

Operations 1

POST /v1/elf/analyze Elf analyze #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pkgseek-com:pkgseek-com-elf-api"
All apis
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.

Get an API 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 Specification

pkgseek-com-elf-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pkgseek Elf API
  description: Open REST API over sourced cross-distro Linux package and CLI facts. Public fact reads and correction submission require no authentication; management review endpoints require a server-side bearer token. Rate-limited responses return 429 (Retry-After where applicable); rejected credentials return 403. Protected writes accept either an x-turnstile-token header (browser, human-verified) or a scoped pk_* bearer key (machines).
  license:
    name: MIT
    identifier: MIT
  version: 0.2.9
tags:
- name: elf
  description: Read-only ELF, shared-library symbol and ABI analysis
paths:
  /v1/elf/analyze:
    post:
      tags:
      - elf
      operationId: elf_analyze
      parameters:
      - name: x-filename
        in: header
        description: Display-only file name
        required: false
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: array
              items:
                type: integer
                format: int32
                minimum: 0
        required: true
      responses:
        '200':
          description: Static ELF metadata, dependencies, symbols and hardening
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElfAnalysis'
        '400':
          description: Not an ELF object or malformed input
        '413':
          description: Input exceeds 8 MiB
      security:
      - turnstile: []
      - machine_key: []
      summary: Elf analyze
      x-summary-source: derived
components:
  schemas:
    ElfHardening:
      type: object
      required:
      - pie
      - nx_stack
      - relro
      properties:
        nx_stack:
          type: boolean
        pie:
          type: boolean
        relro:
          type: boolean
    ElfVersionRequirement:
      type: object
      required:
      - library
      - versions
      properties:
        library:
          type: string
        versions:
          type: array
          items:
            type: string
    ElfAnalysis:
      type: object
      required:
      - filename
      - sha256
      - file_size
      - architecture
      - bits
      - endian
      - object_type
      - needed_libraries
      - rpath
      - runpath
      - imported_symbols
      - exported_symbols
      - version_requirements
      - hardening
      - symbols_truncated
      - warnings
      properties:
        architecture:
          type: string
        bits:
          type: integer
          format: int32
        endian:
          type: string
        exported_symbols:
          type: array
          items:
            $ref: '#/components/schemas/ElfSymbol'
        file_size:
          type: integer
          format: int64
        filename:
          type: string
        hardening:
          $ref: '#/components/schemas/ElfHardening'
        imported_symbols:
          type: array
          items:
            $ref: '#/components/schemas/ElfSymbol'
        interpreter:
          type:
          - string
          - 'null'
        needed_libraries:
          type: array
          items:
            type: string
        object_type:
          type: string
        rpath:
          type: array
          items:
            type: string
        runpath:
          type: array
          items:
            type: string
        sha256:
          type: string
        soname:
          type:
          - string
          - 'null'
        symbols_truncated:
          type: boolean
        version_requirements:
          type: array
          items:
            $ref: '#/components/schemas/ElfVersionRequirement'
        warnings:
          type: array
          items:
            type: string
    ElfSymbol:
      type: object
      required:
      - name
      - binding
      - symbol_type
      - visibility
      - size
      properties:
        binding:
          type: string
        library:
          type:
          - string
          - 'null'
        name:
          type: string
        size:
          type: integer
          format: int64
        symbol_type:
          type: string
        version:
          type:
          - string
          - 'null'
        visibility:
          type: string
  securitySchemes:
    admin_token:
      type: http
      scheme: bearer
    machine_key:
      type: http
      scheme: bearer
    turnstile:
      type: apiKey
      in: header
      name: x-turnstile-token
    watch_token:
      type: apiKey
      in: header
      name: x-watch-token