Glasser

Provided by SEC API

Get Financial Statements of One SEC Filing as JSON from XBRL (SEC API)

$0.0005 per callanswers within 45s

Get the XBRL financial data of one EDGAR filing, such as a 10-K or 10-Q, converted to JSON: income statement, balance sheet, cash flow statement and stockholders' equity, each line item with its period and unit. Supply exactly one of accessionNo (like 0000320193-23-000106), htmUrl (the sec.gov URL of the filing document) or xbrlUrl (the URL of its XBRL instance file). A filing without XBRL attached returns no statements and is not charged.

How to run it

Step 1Set up

Once: paste this into your agent's chat. The Skill installs the CLI and logs in by itself. For an agent that cannot use a shell, connect it over MCP instead.

Set up
set up https://glasser.ai/SKILL.md

Show me how to use the SEC API endpoint /xbrl-to-json on Glasser.

Step 2Try a specific example task

When you need to research a company disclosure, you might look through filing data for passages relevant to the question you are investigating.

Copy this prompt into your agent to find disclosures relevant to your research topic.

Prompt
Use secapi:/xbrl-to-json on Glasser.
Find disclosures about my research topic in the returned filing data.

Endpoint structure

json
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "htmUrl": {
      "type": "string",
      "pattern": "^https:\\/\\/www\\.sec\\.gov\\/Archives\\/edgar\\/data\\/\\d{1,10}\\/\\d{18}\\/[A-Za-z0-9][A-Za-z0-9._-]*$",
      "maxLength": 300
    },
    "xbrlUrl": {
      "type": "string",
      "pattern": "^https:\\/\\/www\\.sec\\.gov\\/Archives\\/edgar\\/data\\/\\d{1,10}\\/\\d{18}\\/[A-Za-z0-9][A-Za-z0-9._-]*$",
      "maxLength": 300
    },
    "accessionNo": {
      "type": "string",
      "pattern": "^\\d{10}-\\d{2}-\\d{6}$"
    }
  },
  "additionalProperties": false
}

How pricing works

Data returnedCharged only when data is returned.$0.0005
Provider errorThe Provider failed to answer.$0.00
Timed outThe Run exceeded its time limit.$0.00
Internal failureAn internal error prevented completion.$0.00