Provider API

How a pricing engine, or any other signal source, feeds the top 10 lists, the heat map and the profile chart on SignalShopper. You serve a few small JSON calls. SignalShopper's pages read them.

How it works

SignalShopper does not receive data from you. A visitor's browser asks your server for it, directly, each time a page opens. So "talking to the front end" means answering a few GET requests in the format below.

1. Provider descriptionWho you are, which symbols you cover, and the addresses of your feeds. Asked once, when you are plugged in.
2. Ranked listYour signals in order, strongest first, one list per side. Fills the top 10.
3. GridOne table of values for one symbol, such as strike by expiry. Fills the heat map.
CallRecommended addressNeededFills
Provider descriptionGET /providerTo plug in with one addressThe provider picker
Ranked listGET /ranked?side={side}At least one of these threeTop 10 buys and sells
GridGET /grid?symbol={symbol}At least one of these threeHeat map
ProfileGET /profile?symbol={symbol}At least one of these threeProfile chart

The addresses are yours to choose. The page only needs to know where {side} and {symbol} go, and your provider description tells it. Static files work as well as a live server: the sample providers on this site are plain .json files.

There are no calls to SignalShopper, no keys, and no sign-up to try it. Open Live Signals, choose Add your own feed in the provider picker, and paste your provider address. It is saved in your browser only.

Quick start

  1. Serve a ranked list for side=buy and side=sell, a grid for each symbol you cover, or both.
  2. Serve a provider description that points at them.
  3. Send Access-Control-Allow-Origin: * on every response, over https. See what your server must do.
  4. Paste your provider address into Check your feed on this page. Fix what it lists.
  5. Add it in Live Signals to see it on screen, then ask to be listed.

Provider description

GET https://api.example.com/signalshopper/v1/provider recommended

Describes your provider and gives the addresses of your feeds. No parameters. With this call in place, a person plugs you in with one address and never types a symbol by hand.

{
  "format": "signalshopper.provider/1",
  "name": "Acme pricing engine",
  "kind": "Pricing engine",
  "description": "Model prices for listed equity options, next to the market.",
  "ranked": "ranked?side={side}",
  "grid": "grid?symbol={symbol}",
  "symbols": ["SPY", "QQQ"]
}
FieldRequiredMeaning
formatyesAlways signalshopper.provider/1.
nameyesShown in the provider picker and under each view.
kindnoThe kind of signal, for example Pricing engine, Dealer gamma, Volatility spread. Providers of one kind are grouped together.
descriptionnoOne line about the signal.
rankedone ofAddress of the ranked list, with {side} where buy or sell goes.
gridone ofAddress of the grid, with {symbol} where the symbol goes.
profileone ofAddress of the profile, with {symbol} where the symbol goes.
symbolswith grid or profileThe symbols you serve a grid or a profile for, in the order to offer them. Sent back to you exactly as written, so SPY and spy are different.

An address that is not absolute is read relative to the description's own address. In the example above, the ranked list is at https://api.example.com/signalshopper/v1/ranked?side=buy.

Ranked list

GET https://api.example.com/signalshopper/v1/ranked?side={side}

Your signals for one side, already in your order, strongest first. The page shows the first ten and does not re-sort them.

ParameterValuesMeaning
sidebuy, sellWhich list. The page asks for both and shows them next to each other.
{
  "format": "signalshopper.ranked/1",
  "side": "buy",
  "asOf": "2026-12-03T15:30:00Z",
  "refreshSeconds": 60,
  "items": [
    { "symbol": "TSLA", "type": "put", "expiry": "2026-12-18", "strike": 155, "market": 18.15, "model": 49.33 },
    { "symbol": "SPY", "type": "call", "expiry": "2026-12-04", "strike": 595, "market": 5.25, "model": 5.60 },
    { "symbol": "UNH", "type": "stock", "edge": 0.12, "note": "earnings Thursday" }
  ]
}
FieldRequiredMeaning
formatyesAlways signalshopper.ranked/1.
sideyesbuy or sell, matching the request.
itemsyesUp to 100 entries. An empty list is fine and shows as "nothing right now".
items[].symbolyesTicker or name.
items[].market
items[].model
one ofThe market price and your price. Give both or neither. market must be above zero.
items[].edgeone ofThe signed value, when there are no prices to show. See values and signs. If prices are also given, this is the number shown.
items[].typenocall, put, stock, or your own word.
items[].expirynoYYYY-MM-DD.
items[].strikenoA number.
items[].notenoA few words shown beside the contract.
items[].gridnoWhere this entry sits on your heat map: { "symbol", "panel", "row", "column" }. Clicking the row then selects that cell. An option with a strike and an expiry is found without it.
asOfnoWhen the list was calculated, as an ISO 8601 time with a zone.
refreshSecondsnoHow often the list changes. See freshness.
label, meaningnoYour own name for this list and a few words on it, in place of "Buys · model above market".
valueName
valueFormat
valueUnit
noFor a signal that is not a price gap. See values and signs.

Grid

GET https://api.example.com/signalshopper/v1/grid?symbol={symbol}

One table of values for one symbol: rows by columns, in one or more panels. For options that is strike by expiry, with a panel for calls and one for puts.

ParameterValuesMeaning
symbolOne of your symbolsSent exactly as you listed it, URL-encoded.
{
  "format": "signalshopper.grid/1",
  "symbol": "SPY",
  "asOf": "2026-12-03T15:30:00Z",
  "refreshSeconds": 60,
  "rowLabel": "Strike",
  "columnLabel": "Expiry",
  "columns": ["2026-12-04", "2026-12-11"],
  "panels": [
    {
      "key": "call",
      "label": "Calls",
      "rows": [590, 595, 600],
      "values": [[0.04, 0.02], [-0.10, null], [-0.31, -0.22]],
      "market": [[9.10, 11.40], [5.25, null], [2.60, 4.05]],
      "model":  [[9.46, 11.63], [4.73, null], [1.79, 3.16]]
    },
    {
      "key": "put",
      "label": "Puts",
      "rows": [590, 595, 600],
      "values": [[0.08, 0.05], [0.01, -0.03], [null, -0.12]]
    }
  ]
}
FieldRequiredMeaning
formatyesAlways signalshopper.grid/1.
symbolyesThe symbol this grid is for.
columnsyesColumn labels, left to right, up to 60. A date written YYYY-MM-DD is shown as "Dec 4". Any other text is shown as it is.
panelsyesOne to six tables that share the columns.
panels[].key
panels[].label
yesA short id, unique in the grid, and the panel's title.
panels[].rowsyesRow labels, up to 200. Numbers (strikes) are shown highest first, and panels are lined up on them. Text keeps your order.
panels[].valuesyesOne list per row, one entry per column. A number, or null where there is no value.
panels[].market
panels[].model
noSame shape as values. When both are given, the two prices appear in a cell's detail.
rowLabel, columnLabelnoNames for the two axes.
legendno{ "positive": "...", "negative": "..." }: what green and red mean, when it is not "model above market" and "model below market".
asOf, refreshSecondsnoAs in the ranked list.
valueName
valueFormat
valueUnit
noSee values and signs.

Colour strength is scaled inside each panel, separately for green and red, against that panel's largest value. You do not need to normalise.

Profile

GET https://api.example.com/signalshopper/v1/profile?symbol={symbol}

One value at each level of a price axis for one symbol, drawn as a curve around zero, with the levels you mark on it. Use it when the signal is about where the price is on that curve. Dealer gamma is the usual case: the total gamma dealers would hold if the price were at each level, with the last price and the level where that total turns from negative to positive.

{
  "format": "signalshopper.profile/1",
  "symbol": "SPY",
  "asOf": "2026-12-03T15:30:00Z",
  "refreshSeconds": 300,
  "levelLabel": "Price",
  "valueName": "dealer gamma",
  "valueFormat": "number",
  "valueUnit": "$M",
  "legend": {
    "positive": "Dealers long gamma: their hedging damps moves",
    "negative": "Dealers short gamma: their hedging amplifies moves"
  },
  "markers": [
    { "level": 590.42, "label": "Last", "kind": "last" },
    { "level": 583.5, "label": "Zero GEX" }
  ],
  "points": [
    { "level": 575, "value": -518.5 },
    { "level": 580, "value": -281.2 },
    { "level": 585, "value": 120.1 },
    { "level": 590, "value": 634.4 },
    { "level": 595, "value": 1027.4 }
  ]
}
FieldRequiredMeaning
formatyesAlways signalshopper.profile/1.
symbolyesThe symbol this profile is for.
pointsyesTwo to 500 entries, each a level and a value, with the levels rising. The chart joins them with straight lines.
markersnoUp to 12 levels to mark, each a level and a label, the most important first. A marker outside the range of points is not drawn.
markers[].kindno"last" on one marker says it is the last price. The line above the chart then gives the value at that level and what its sign means, and the other markers show how far they are from it.
levelLabelnoWhat the levels are, such as Price. Shown when a visitor reads one level.
legendno{ "positive": "...", "negative": "..." }: what a value above zero and a value below zero mean.
asOf, refreshSecondsnoAs in the ranked list.
valueName
valueFormat
valueUnit
noSee values and signs. valueName is also the chart's title.

The sample dealer gamma profile is a complete one.

Values and signs

One rule holds everywhere: a positive value is drawn green and belongs on the buy side, a negative value is drawn red and belongs on the sell side.

A pricing engine

The value is the gap between your price and the market's, as a fraction of the market price:

edge = (model - market) / market

0.25 means your model is 25% above the market. -0.25 means 25% below. It is a fraction, not a percentage. In a ranked list you can send market and model and leave the arithmetic to the page. In a grid, values always carries the result.

Any other signal

Keep the sign rule and say what the number is:

FieldMeaningDefault
valueNameWhat the value is called. It heads the last column and appears in a cell's detail.gap
valueFormatpercent for a fraction shown as a percentage, or number for a number shown as it is, with its sign.percent
valueUnitFor number: the unit, such as $M or vol pts.none

Rename the two sides to match: label and meaning on a ranked list, legend on a grid or a profile. Three sample providers on this site do it, and their files are a working reference:

  • Dealer gamma: a profile of the gamma dealers would hold at each price level, in millions of dollars, with the last price and the zero-GEX level marked, for 21 symbols. Its grid splits the same totals by expiry, and its lists say how far each symbol's last price is above or below its zero-GEX level, in percent.
  • Volatility spread: forecast minus implied volatility in vol points, by symbol and tenor.
  • Order flow: net buying as a share of volume, by symbol and half hour.

What your server must do

RuleWhy
Answer GET with JSONThe page sends a plain GET with no body, no cookies and no extra headers, so the browser makes no preflight request.
Access-Control-Allow-Origin: *The request comes from a visitor's browser on signalshopper.com, or on any site that embeds the views. Without this header the browser refuses to hand your answer to the page.
httpsA page served over https cannot read http.
Content-Type: application/jsonUTF-8.
Answer within a few secondsNothing is shown until you answer. Calculate ahead of the request and serve the stored result.
Stay inside the size limits100 items in a list. 60 columns, 200 rows and 6 panels in a grid. A larger answer is refused, not trimmed.
Expect every visitorEach open page asks you directly, and again every refreshSeconds. Put a cache or a CDN in front of anything slow.

Your addresses are public. Anyone can read what you serve there, with or without SignalShopper. Do not put anything in a feed that you would not publish. Feeds that need a key are not supported yet.

Fields the page does not know are ignored, so you can add your own. Every text field is shown as plain text, never as HTML.

Errors

Use ordinary status codes. To explain an error to the person looking at the page, add a short message:

HTTP/1.1 404 Not Found
Content-Type: application/json
Access-Control-Allow-Origin: *

{ "error": { "code": "unknown_symbol", "message": "No grid for ZZZ." } }
You answerThe page shows
200 with a valid feedThe view.
200 with a feed that breaks the format"The feed doesn't match the format", with the first five problems listed by field.
4xx or 5xx"The feed answered with an error (404)", followed by your error.message if you sent one (first 200 characters).
Nothing, or no CORS header"Couldn't reach the feed", after one retry.

Send the CORS header on error answers too, or the page cannot read your message.

Freshness

  • asOf is shown beside your name as "as of Dec 3, 3:30 PM" in the visitor's own time zone. Send it, so stale data is visible as stale.
  • refreshSeconds asks the page to read the feed again after that many seconds, for as long as it is on screen. The lowest accepted value is 5. Leave it out for data that changes daily, and the feed is read once per page load.
  • While a refresh loads, the old data stays up. If the refresh fails, the old data stays and the page tries again after the same wait.
  • A page in a background tab does not ask.
  • The page asks the browser not to cache your answers, so a new answer is seen at the next read.

Check your feed

Paste the address of your provider description, or of a single ranked list, grid or profile. The check runs in your browser against your server, with the same rules the live page uses, so it also catches a missing CORS header.

    To try it now, paste the address of a sample: providers/demo-dealer-gamma/provider.json.

    From a terminal, the same rules are in tools/validate.mjs of the front end's source: node tools/validate.mjs your-file.json.

    Getting listed

    Anyone can add your provider to their own browser with Add your own feed. To appear in the picker for every visitor, your provider has to be added to SignalShopper's own list. Send your provider address to api-support@signalshopper.com.

    Before asking, make sure that the check above passes for the description, both sides of the ranked list and every symbol, and that your asOf times are current.

    Showing your signal on your own site

    The same views can be placed on any page. They read your feeds directly:

    <script type="module" src="https://signalshopper.com/signals/src/embed.js"></script>
    
    <signal-top10 src="https://api.example.com/signalshopper/v1/ranked?side={side}" side="both"></signal-top10>
    <signal-heatmap src="https://api.example.com/signalshopper/v1/grid?symbol={symbol}" symbol="SPY" panel="all"></signal-heatmap>
    <signal-profile src="https://api.example.com/signalshopper/v1/profile?symbol={symbol}" symbol="SPY"></signal-profile>
    AttributeOnMeaning
    srcallYour feed address, with {side} for the top 10 and {symbol} for the heat map and the profile.
    providerbothIn place of src: the id of a listed provider.
    provider-namebothThe name to show under a view that uses src.
    sidetop 10both for buys beside sells, or buy / sell for one list with a switch.
    limittop 10How many entries to show. 10 unless set.
    fixedtop 10No switch: the list stays on the side given.
    symbolheat map, profileRequired.
    panelheat mapall for every panel side by side, or a panel's key for one panel with a switch.
    fillheat mapStretch the rows to the height your page gives the element.
    floatheat mapOn a phone, pin the chosen cell's detail to the top of the screen.
    compactbothA small version for a card.
    themebothlight or dark. Without it, the visitor's system setting.

    Example server

    A complete provider in Python's standard library. It serves the three calls with made-up numbers and the right headers. Replace the two functions that build the answers with your engine's output.

    import json
    from datetime import datetime, timezone
    from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
    from urllib.parse import urlparse, parse_qs
    
    SYMBOLS = ["SPY"]
    now = lambda: datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
    
    def ranked(side):
        sign = 1 if side == "buy" else -1
        return {"format": "signalshopper.ranked/1", "side": side, "asOf": now(), "refreshSeconds": 60,
                "items": [{"symbol": "SPY", "type": "call", "expiry": "2026-12-18", "strike": 595,
                           "market": 5.25, "model": round(5.25 * (1 + sign * 0.07), 2)}]}
    
    def grid(symbol):
        return {"format": "signalshopper.grid/1", "symbol": symbol, "asOf": now(), "refreshSeconds": 60,
                "rowLabel": "Strike", "columns": ["2026-12-11", "2026-12-18"],
                "panels": [{"key": "call", "label": "Calls", "rows": [590, 595, 600],
                            "values": [[0.04, 0.02], [-0.10, 0.07], [-0.31, -0.22]]}]}
    
    class Handler(BaseHTTPRequestHandler):
        def send(self, status, body):
            data = json.dumps(body).encode()
            self.send_response(status)
            self.send_header("Content-Type", "application/json")
            self.send_header("Access-Control-Allow-Origin", "*")
            self.send_header("Content-Length", str(len(data)))
            self.end_headers()
            self.wfile.write(data)
    
        def fail(self, status, code, message):
            self.send(status, {"error": {"code": code, "message": message}})
    
        def do_GET(self):
            url = urlparse(self.path)
            query = {key: values[0] for key, values in parse_qs(url.query).items()}
            if url.path == "/provider":
                self.send(200, {"format": "signalshopper.provider/1", "name": "Example engine",
                                "kind": "Pricing engine", "ranked": "ranked?side={side}",
                                "grid": "grid?symbol={symbol}", "symbols": SYMBOLS})
            elif url.path == "/ranked":
                if query.get("side") not in ("buy", "sell"):
                    return self.fail(400, "bad_side", "side must be buy or sell.")
                self.send(200, ranked(query["side"]))
            elif url.path == "/grid":
                if query.get("symbol") not in SYMBOLS:
                    return self.fail(404, "unknown_symbol", f"No grid for {query.get('symbol')}.")
                self.send(200, grid(query["symbol"]))
            else:
                self.fail(404, "not_found", "No such call.")
    
    ThreadingHTTPServer(("127.0.0.1", 8787), Handler).serve_forever()

    Run it, then paste http://127.0.0.1:8787/provider into the check above. A page on your own machine may read http from 127.0.0.1. A public page needs https.

    Not supported yet

    • Keys and private feeds. The page sends no credentials, and a key placed in a web page is public. A paid or private feed needs SignalShopper to fetch it on a server and check who is asking. That server does not exist yet.
    • Pushing data to SignalShopper. The site is static pages, so there is nothing to receive a push. You are always asked, never told to send.
    • Streaming. No WebSocket or server-sent events. Use refreshSeconds.
    • History. Each call returns the latest answer only. There is no date parameter.
    • Paging and filters. A ranked list is one answer of up to 100 entries. The page sends no limit or filter.

    Schemas and versions

    • openapi.json: the calls as an OpenAPI 3.1 description, for code generators and API tools.
    • JSON Schemas: provider, ranked, grid, profile. A schema cannot say that every grid row needs one value per column, so the page checks that itself, and so does the check above.
    • Sample feeds: every file under providers.json.

    The number at the end of each format is the version. New optional fields are added without changing it, which is why unknown fields are ignored. A change that would break an existing feed gets a new number, and the old one keeps working alongside it.