SweetValueLab Authoring API

Writing, revising and submitting guest posts for the blog, and the byline they carry. Every operation needs a personal API token.

GitHub OpenAPI

Operations 13

GET /profile The author's byline #
PUT /profile Create or replace the byline #
POST /posts Check a post, or save it as a draft #
GET /posts/mine The author's own posts #
GET /posts/{id} One of the author's posts, with its body and last check #
PATCH /posts/{id} Replace a draft's document #
DELETE /posts/{id} Delete a draft or a returned post #
POST /posts/{id}/submit Hand a draft to the editors #
POST /posts/{id}/revise Open a revision of a live post #
POST /posts/{id}/withdraw Take a post back from review #
POST /posts/{id}/unpublish Take a published post off the site #
POST /posts/{id}/images Upload one image for a post #
GET /posts/{id}/images The images a post may show #

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/sweetvaluelab-com:sweetvaluelab-com-authoring-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

sweetvaluelab-com-authoring-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SweetValueLab Authoring API
  version: 2.0.0
  summary: Equity research data computed from primary sources, readable with no key and no account; plus the authenticated endpoints an author's agent uses to write for the blog.
  description: 'The same endpoints the site''s own data pages call from the browser, documented because they are public anyway, and the endpoints behind guest posts on the blog.


    **Reading (`/v1/*`)**


    - **No authentication and no registration.** No key to ask for, no quota to sign up for.

    - **Read-only.** Every `/v1/*` endpoint is a GET over pre-computed data.

    - **Nightly, not live.** Figures are refreshed by scheduled jobs (valuations and prices each night, the sector boards after them, the calendar daily, 13F weekly). This is not a quote feed, and no request of yours reaches a market-data vendor.

    - **Point-in-time.** Anything sourced from a filing is stored against the filing''s own acceptance timestamp, never the time we read it.

    - **Cached at the edge.** The bundles are held in Workers KV and served globally; a 200 is good for 5 minutes in a browser and an hour at the edge.


    **From an AI assistant (MCP)**


    - **The same data as a read-only MCP server** at `https://api.sweetvaluelab.com/mcp` (Streamable HTTP, no authentication): `search_stocks`, `get_stock_valuation`, `get_market_context`, `get_investor_holdings` and `get_13f_consensus`, each answering with a short summary and a link to the page. Add it to Claude, Cursor or any MCP client as a remote server.


    **Writing for the blog (`/profile`, `/posts*`)**


    - **Authenticated with a personal API token** (`Authorization: Bearer svl_…`), minted by a signed-in person at https://sweetvaluelab.com/account/tokens and handed to their agent. See the `personalToken` security scheme.

    - **One Markdown document per post.** A post is sent as a single string, frontmatter included; `POST /posts?dryRun=1` runs every check without saving anything and answers with issues carrying line numbers.

    - **Nothing written here is public.** A draft is visible only to its author; submitting hands it to an editor, and only an editor can publish. The full submission spec, written to be given to a model, is https://sweetvaluelab.com/write-for-us.md.


    **One envelope for every response**, success or failure — see the `Envelope` schema. A 422 from the write endpoints carries the check''s findings in `error.details.issues` (see `PrecheckIssue`).


    What it is not: this is a quantitative summary of public data, not advice. The gap between price and a model is reported as a premium or a discount to that model; the site publishes no calls, no grades of its own and no price objectives. Third-party figures (the sell-side''s published estimates and grade changes) are carried as quoted data, attributed as such. Posts are held to the same rule.


    Sources: Financial Modeling Prep (prices, statements, estimates, dividends) and SEC EDGAR (13F, 13D/G, 8-K, Form 4). Please read the terms before redistributing.


    Response bodies of the read endpoints are documented at the envelope level on purpose: `data` carries the same shapes the site''s own pages render, and those grow additively. Fetch one and look — a hand-maintained field list here would be wrong within a month.'
  termsOfService: https://sweetvaluelab.com/terms
  contact:
    name: SweetValueLab
    url: https://sweetvaluelab.com/about
servers:
- url: https://api.sweetvaluelab.com
  description: Production. Fronted by a Cloudflare Worker that serves the bundles from KV.
tags:


# --- truncated at 32 KB (42 KB total) ---
# Full source: https://artifacts.apis.io/sweetvaluelab-com/openapi/sweetvaluelab-com-authoring-api-openapi.yml