Address and authorization
Base URL: https://justscreener.com/api/external/v1/
Send the personal key from the dashboard in the Authorization: Bearer header. A key is valid for up to 90 days and no longer than your paid PRO.
curl -H "Authorization: Bearer $JUSTSCREENER_API_KEY" https://justscreener.com/api/external/v1/access
Apps sign in with OAuth 2.1, PKCE and dynamic client registration. Authorization server metadata: https://justscreener.com/.well-known/oauth-authorization-server
Every response is an object with hasError, response and errors. On failure, errors carries a code from the table below.
Download OpenAPI
Python and JavaScript examples
Save the example as signals.py or signals.mjs and set JUSTSCREENER_API_KEY in your environment. Run python3 signals.py or node signals.mjs. No dependencies are required. Examples read access and up to 10 history pages, preserve period bounds, limit 429/503 retries using Retry-After, and never retry 401/403. Delays above 60 seconds are left to you: run again later. Data reads spend credits; keys and response bodies are not printed in error messages.
Python 3
"""Python 3, standard library. Set JUSTSCREENER_API_KEY before running."""
import json
import os
import sys
import time
from datetime import datetime, timedelta, timezone
from urllib.error import HTTPError
from urllib.parse import urlencode, urlsplit
from urllib.request import HTTPRedirectHandler, Request, build_opener
class NoRedirect(HTTPRedirectHandler):
def redirect_request(self, req, fp, code, msg, headers, newurl):
return None
def get(path, params=None):
base = os.environ.get("JUSTSCREENER_API_BASE", "https://justscreener.com/api/external/v1/")
target = urlsplit(base)
if (target.scheme != "https" and not (target.scheme == "http" and target.hostname in ("127.0.0.1", "localhost"))) or target.username or target.password or target.query or target.fragment:
raise RuntimeError("Invalid API base")
key = os.environ["JUSTSCREENER_API_KEY"]
request = Request(base.rstrip("/") + "/" + path + ("?" + urlencode(params) if params else ""),
headers={"Authorization": "Bearer " + key, "Accept": "application/json"})
for attempt in range(3):
try:
with build_opener(NoRedirect).open(request, timeout=8) as response:
raw = response.read(262145)
if len(raw) > 262144:
raise RuntimeError("Response too large")
body = json.loads(raw)
if body.get("hasError") is not False or not isinstance(body.get("response"), dict):
raise RuntimeError("Invalid API response")
return body["response"]
except HTTPError as error:
status, retry = error.code, error.headers.get("Retry-After", "")
error.close()
if status not in (429, 503) or attempt == 2 or not retry.isdigit() or int(retry) > 60:
raise RuntimeError("HTTP " + str(status)) from None
time.sleep(max(1, int(retry)))
def main():
access = get("access")
print("Credits remaining:", access["credits"]["remaining"])
until = datetime.now(timezone.utc).replace(microsecond=0)
params = {"since": (until - timedelta(days=1)).isoformat(), "until": until.isoformat(), "limit": 25}
count, cursor = 0, None
for _ in range(10):
page = get("signals", params)
count += len(page["items"])
cursor = page["next_cursor"]
if cursor is None:
break
params["cursor"] = cursor
print("Notifications read:", count, "(incomplete)" if cursor is not None else "(complete)")
if __name__ == "__main__":
try:
main()
except Exception:
# Do not print exception text: a dependency could include a URL or response body.
print("API example failed; check access, parameters and retry limits.", file=sys.stderr)
raise SystemExit(1)
JavaScript (Node.js 22+)
// Node.js 22+, no dependencies. Set JUSTSCREENER_API_KEY before running.
let base;
const key = process.env.JUSTSCREENER_API_KEY;
try {
base = new URL(process.env.JUSTSCREENER_API_BASE ?? 'https://justscreener.com/api/external/v1/');
if (!key || base.username || base.password || base.search || base.hash
|| (base.protocol !== 'https:' && !(base.protocol === 'http:' && ['127.0.0.1', 'localhost'].includes(base.hostname)))) {
throw new Error('Invalid API configuration');
}
} catch {
console.error('Set JUSTSCREENER_API_KEY and a valid HTTPS API base.');
process.exit(1);
}
if (!base.pathname.endsWith('/')) base.pathname += '/';
async function get(path, params = {}) {
const url = new URL(path, base);
url.search = new URLSearchParams(params).toString();
for (let attempt = 0; attempt < 3; attempt++) {
const response = await fetch(url, { headers: { Authorization: `Bearer ${key}`, Accept: 'application/json' },
redirect: 'error', signal: AbortSignal.timeout(8000) });
if (!response.ok) {
await response.body?.cancel();
const retry = response.headers.get('retry-after');
if (![429, 503].includes(response.status) || attempt === 2 || !/^\d+$/.test(retry ?? '') || Number(retry) > 60) {
throw new Error(`HTTP ${response.status}`);
}
await new Promise(resolve => setTimeout(resolve, Math.max(1, Number(retry)) * 1000));
continue;
}
const chunks = [];
let size = 0;
for await (const chunk of response.body ?? []) {
size += chunk.byteLength;
if (size > 262144) throw new Error('Response too large');
chunks.push(chunk);
}
const body = JSON.parse(Buffer.concat(chunks, size).toString('utf8'));
if (body.hasError !== false || !body.response || typeof body.response !== 'object' || Array.isArray(body.response)) {
throw new Error('Invalid API response');
}
return body.response;
}
}
try {
const access = await get('access');
console.log('Credits remaining:', access.credits.remaining);
const until = new Date();
const params = { since: new Date(until.getTime() - 86400000).toISOString(), until: until.toISOString(), limit: 25 };
let count = 0;
let cursor = null;
for (let pageNumber = 0; pageNumber < 10; pageNumber++) {
const page = await get('signals', params);
count += page.items.length;
cursor = page.next_cursor;
if (cursor === null) break;
params.cursor = cursor;
}
console.log('Notifications read:', count, cursor !== null ? '(incomplete)' : '(complete)');
} catch {
// Do not print exception text: a dependency could include a URL or response body.
console.error('API example failed; check access, parameters and retry limits.');
process.exitCode = 1;
}
Endpoints
GET /api/external/v1/access
Access, PRO expiry and remaining credits.
- MCP tool
-
get_access
- Cost
- free
- Parameters
-
No parameters.
Response example · illustrative values
{
"hasError": false,
"response": {
"plan": "PRO",
"expires_at": "2026-11-20T09:00:00+00:00",
"credits": {
"used": 37,
"limit": 1000,
"remaining": 963,
"resets_at": "2026-11-01T00:00:00+00:00",
"daily": {
"used": 12,
"limit": 150,
"remaining": 138,
"resets_at": "2026-10-21T00:00:00+00:00"
}
},
"operations": [
"access",
"market-snapshot",
"screeners",
"signals",
"signals-summary",
"signal-sync",
"signal",
"signal-stats",
"price-preview",
"signal-convergences",
"delivery-status",
"notification-context",
"settings-history"
],
"per_minute": 15
},
"errors": null
}
GET /api/external/v1/screeners
Your screeners and their current conditions.
- MCP tool
-
list_my_screeners
- Cost
- 1 credit
- Parameters
-
No parameters.
Response example · illustrative values
{
"hasError": false,
"response": {
"items": [
{
"type": "OPEN_INTEREST",
"active": false,
"conditions": {
"parts": [
{
"key": "oi",
"params": {
"amount": 5,
"minutes": 5
}
}
],
"limit": {
"count": 1,
"periodMinutes": 30
}
}
},
{
"type": "PRICE",
"active": false,
"conditions": {
"parts": [
{
"key": "pump",
"params": {
"amount": 4,
"minutes": 5
}
}
],
"limit": {
"count": 2,
"periodMinutes": 60
}
}
}
],
"scope": "current_settings"
},
"errors": null
}
GET /api/external/v1/signals
Your hits, newest first, up to 25 at a time; filters by time, coin and screener.
Without since, the list covers the last 24 hours. Pass next_cursor as cursor with the same since, until and filters. If you stop before the end, the sample is incomplete. The period is limited to available PRO history, at most 365 days.
- MCP tool
-
list_my_signals
- Cost
- 1 credit
- Parameters
-
since — period start, ISO-8601 in UTC
until — period end, ISO-8601 in UTC
symbol — pair, for example BTCUSDT
screener_type — screener type: OPEN_INTEREST, PRICE, VOLUME, CUSTOM, FUNDING, INDICATOR, FUNDING_ARB, PRICE_LEVELS, PRICE_ALERT, LIQUIDATION
cursor — next_cursor from the previous response
limit — how many records to return, 1 to 25
Response example · illustrative values
{
"hasError": false,
"response": {
"items": [
{
"id": 845012,
"source_symbol": "EULUSDT",
"source_bot_type": "VOLUME",
"exchanges": [
"BINANCE_FUTURES"
],
"changes": [
"volume"
],
"created_at": "2026-10-20T11:42:02+00:00",
"last_seen_at": "2026-10-20T11:42:02+00:00",
"repeat_count": 1,
"fact_price_pct": 0.6087,
"fact_oi_pct": null,
"fact_volume_pct": 0.8783,
"fact_funding": 5.0e-5,
"fact_oi_usd": null,
"fact_volume_usd": 26684.7,
"fact_window_min": 5,
"url": "https://justscreener.com/app/notifications?symbol=EULUSDT&bot_type=VOLUME",
"url_scope": "filtered_notification_history",
"facts_scope": "latest_episode_update"
},
{
"id": 845011,
"source_symbol": "BLESSUSDT",
"source_bot_type": "VOLUME",
"exchanges": [
"BINANCE_FUTURES"
],
"changes": [
"volume"
],
"created_at": "2026-10-20T11:42:02+00:00",
"last_seen_at": "2026-10-20T11:42:02+00:00",
"repeat_count": 1,
"fact_price_pct": 0.6427,
"fact_oi_pct": null,
"fact_volume_pct": 1.4741,
"fact_funding": 5.0e-5,
"fact_oi_usd": null,
"fact_volume_usd": 20820.49,
"fact_window_min": 5,
"url": "https://justscreener.com/app/notifications?symbol=BLESSUSDT&bot_type=VOLUME",
"url_scope": "filtered_notification_history",
"facts_scope": "latest_episode_update"
}
],
"next_cursor": "WyIyMDI2LTEwLTIwIDExOjQyOjAyIiw4NDUwMTFd",
"scope": "own_recorded_notifications",
"since": "2026-10-19T21:19:24+00:00",
"until": "2026-10-20T21:19:24+00:00"
},
"errors": null
}
GET /api/external/v1/signals/summary
Your notification summary by coin and screener, with overlaps within the period.
Defaults to 24 hours, at most the latest 2,000 matching records. Counts describe this sample, not all market events; repeated episode updates are not separate notifications. sample_limited indicates omitted records. Each group list contains at most 50 entries with its own truncation flag. Overlap means one coin under different screeners within the period, not simultaneous triggers. Cached for 5 minutes; check generated_at and stale.
- MCP tool
-
summarize_my_signals
- Cost
- 5 credits
- Parameters
-
since — period start, ISO-8601 in UTC
until — period end, ISO-8601 in UTC
symbol — pair, for example BTCUSDT
screener_type — screener type: OPEN_INTEREST, PRICE, VOLUME, CUSTOM, FUNDING, INDICATOR, FUNDING_ARB, PRICE_LEVELS, PRICE_ALERT, LIQUIDATION
Response example · illustrative values
{
"hasError": false,
"response": {
"scope": "own_recorded_notifications",
"since": "2026-10-19T21:19:24+00:00",
"until": "2026-10-20T21:19:24+00:00",
"sampled_rows": 4,
"sample_limit": 2000,
"sample_limited": false,
"by_screener": [
{
"screener_type": "PRICE",
"count": 3
},
{
"screener_type": "OPEN_INTEREST",
"count": 1
}
],
"screener_groups_limited": false,
"by_symbol": [
{
"symbol": "BTCUSDT",
"count": 3,
"screener_types": [
"OPEN_INTEREST",
"PRICE"
]
},
{
"symbol": "SOLUSDT",
"count": 1,
"screener_types": [
"PRICE"
]
}
],
"symbol_groups_limited": false,
"cross_screener_symbol_count": 1,
"cross_screener_symbols": [
{
"symbol": "BTCUSDT",
"count": 3,
"screener_types": [
"OPEN_INTEREST",
"PRICE"
]
}
],
"cross_screener_groups_limited": false,
"overlap_scope": "same_symbol_with_different_screener_types_in_period",
"generated_at": "2026-10-20T21:19:24+00:00",
"stale": false
},
"errors": null
}
GET /api/external/v1/signals/{id}
One card: alert facts, context at the moment it fired and price measurements after.
- MCP tool
-
get_my_signal
- Cost
- 1 credit
- Parameters
-
id — the number of your card
Response example · illustrative values
{
"hasError": false,
"response": {
"id": 845012,
"source_symbol": "EULUSDT",
"source_bot_type": "VOLUME",
"exchanges": [
"BINANCE_FUTURES"
],
"changes": [
"volume"
],
"created_at": "2026-10-20T11:42:02+00:00",
"last_seen_at": "2026-10-20T11:42:02+00:00",
"repeat_count": 1,
"fact_price_pct": 0.6087,
"fact_oi_pct": null,
"fact_volume_pct": 0.8783,
"fact_funding": 5.0e-5,
"fact_oi_usd": null,
"fact_volume_usd": 26684.7,
"fact_window_min": 5,
"url": "https://justscreener.com/app/notifications?symbol=EULUSDT&bot_type=VOLUME",
"url_scope": "filtered_notification_history",
"facts_scope": "latest_episode_update",
"outcome": {
"entry_at": "2026-10-20T11:42:02+00:00",
"entry_price": 0.0412,
"state_1h": "available",
"move_1h_pct": 1.213592,
"btc_move_1h_pct": 0.184211,
"state_24h": "pending",
"move_24h_pct": null,
"btc_move_24h_pct": null
},
"entry_context": {
"priceChangePct": 0.6087,
"volumeChangePct": 0.8783,
"windowMinutes": 5,
"fundingRate": 5.0e-5,
"rsi1h": 58.4,
"rsi1d": 47.9,
"rvol1h": 2.3,
"marketBreadthPct": 54.1
},
"context_scope": "entry_snapshot"
},
"errors": null
}
GET /api/external/v1/signal-stats
Price movement after your notifications, filtered by coin, screener and period. Defaults to 30 days.
Filters apply before selecting the latest 2,000 measurements. Defaults to 30 days; accepts symbol, screener_type, since and until. The response reports effective UTC bounds, clipped to retention. Available, pending and missing measurements are separate for 1h and 24h horizons. The direction-aware fields (continued_share_pct, median_along_pct, median_along_vs_btc_percentage_points, by_direction) measure the move in the alert’s direction; median_abs_move_pct is the range either way. median_move_pct mixes rise and drop alerts and is kept for compatibility. Price movement after a notification is not trading profit. Cached for 5 minutes.
- MCP tool
-
get_my_signal_stats
- Cost
- 5 credits
- Parameters
-
since — period start, ISO-8601 in UTC
until — period end, ISO-8601 in UTC
symbol — pair, for example BTCUSDT
screener_type — screener type: OPEN_INTEREST, PRICE, VOLUME, CUSTOM, FUNDING, INDICATOR, FUNDING_ARB, PRICE_LEVELS, PRICE_ALERT, LIQUIDATION
Response example · illustrative values
{
"hasError": false,
"response": {
"scope": "own_recorded_outcomes",
"methodology_version": 1,
"window_days": 30,
"sample_limited": false,
"sampled_rows": 412,
"screener_type": "all",
"horizons": {
"1h": {
"sample": 398,
"pending": 6,
"missing": 8,
"median_move_pct": 0.214,
"btc_sample": 395,
"median_vs_btc_percentage_points": 0.162,
"median_abs_move_pct": 1.12,
"directed_sample": 352,
"continued_share_pct": 44.6,
"median_along_pct": -0.142,
"btc_directed_sample": 350,
"median_along_vs_btc_percentage_points": -0.188,
"by_direction": {
"up": {
"directed_sample": 231,
"continued_share_pct": 41.1,
"median_along_pct": -0.31
},
"down": {
"directed_sample": 121,
"continued_share_pct": 51.2,
"median_along_pct": 0.05
}
}
},
"24h": {
"sample": 371,
"pending": 29,
"missing": 12,
"median_move_pct": -0.387,
"btc_sample": 369,
"median_vs_btc_percentage_points": -0.521,
"median_abs_move_pct": 3.84,
"directed_sample": 329,
"continued_share_pct": 43.2,
"median_along_pct": -0.71,
"btc_directed_sample": 327,
"median_along_vs_btc_percentage_points": -0.64,
"by_direction": {
"up": {
"directed_sample": 214,
"continued_share_pct": 39.7,
"median_along_pct": -1.18
},
"down": {
"directed_sample": 115,
"continued_share_pct": 49.6,
"median_along_pct": -0.04
}
}
}
},
"generated_at": "2026-10-20T21:19:24+00:00",
"stale": false,
"since": "2026-09-20T21:19:24+00:00",
"until": "2026-10-20T21:19:24+00:00",
"symbol": null
},
"errors": null
}
GET /api/external/v1/price-preview
Compare the saved price-rise threshold with a draft on the same recent market data.
The replay accepts 15 to 240 minutes (default 60), uses static thresholds and reports the actual window and evaluated minutes. It shows what matched in this sample. Review the draft in the dashboard before saving. The price_data_minutes field counts minutes with both prices on at least one selected market.
- MCP tool
-
preview_price_threshold
- Cost
- 10 credits
- Parameters
-
price_change_pct — new price-rise threshold as a percentage
window_minutes — window in minutes
GET /api/external/v1/signal-convergences
Find different screeners that opened episodes for the same pair close together.
The proximity window is 1 to 60 minutes (default 15). Returns the latest qualifying group per pair, based on episode start times. The cards may refer to different exchanges or markets. Check sample_limited and results_limited.
- MCP tool
-
find_my_signal_convergences
- Cost
- 5 credits
- Parameters
-
since — period start, ISO-8601 in UTC
until — period end, ISO-8601 in UTC
symbol — pair, for example BTCUSDT
window_minutes — window in minutes
first_type — first screener type, pass together with second_type
second_type — second, distinct screener type
GET /api/external/v1/delivery-status
Check active screeners, recorded notifications and delivery destinations.
Counts cover the last 24 hours. A configured destination does not confirm receipt. The recorded send timestamp does not identify the channel.
- MCP tool
-
get_my_delivery_status
- Cost
- 1 credit
- Parameters
-
screener_type — screener type: OPEN_INTEREST, PRICE, VOLUME, CUSTOM, FUNDING, INDICATOR, FUNDING_ARB, PRICE_LEVELS, PRICE_ALERT, LIQUIDATION
GET /api/external/v1/notification-context
Compare the latest available market data with an hourly snapshot before one of your notifications.
The archived point is from the previous complete hourly bucket. Latest freshness refers to the pair refresh. Missing metrics are null. The funding rate is a fraction and turnover is estimated from price and base volume.
- MCP tool
-
get_my_notification_market_context
- Cost
- 1 credit
- Parameters
-
notification_id — the number of your notification card
exchange — exchange and market code from the notification, such as BYBIT_FUTURES
GET /api/external/v1/settings-history
Read your settings versions and the episodes attributed to each.
Returns up to ten versions observed during the period and, when available, the latest one before it. Counts cover episodes linked to each version. The versions may have different observation periods.
- MCP tool
-
list_my_screener_setting_versions
- Cost
- 5 credits
- Parameters
-
screener_type — screener type: OPEN_INTEREST, PRICE, VOLUME, CUSTOM, FUNDING, INDICATOR, FUNDING_ARB, PRICE_LEVELS, PRICE_ALERT, LIQUIDATION
days — days to review, from 1 to 30, default 7
GET /api/external/v1/signals/sync
Resume synchronizing your notification cards from a cursor.
On the first call set since to the start of the recovery period, up to 30 days ago. The default is one day. Follow next_cursor until has_more is false, then keep the cursor for the next poll. Poll no more than once a minute. Upsert by id because completed windows overlap. Cards removed from history are omitted.
- MCP tool
-
REST API only
- Cost
- 1 credit
- Parameters
-
since — period start, ISO-8601 in UTC
cursor — next_cursor from the previous response
limit — how many records to return, 1 to 25
GET /api/external/v1/market-snapshot
A market summary based on daily indicators, with a timestamp.
- MCP tool
-
get_market_snapshot
- Cost
- 1 credit
- Parameters
-
No parameters.
Response example · illustrative values
{
"hasError": false,
"response": {
"scope": "platform",
"timeframe": "day",
"sample": 7663,
"sample_limited": false,
"oversold_count": 912,
"overbought_count": 287,
"computed_at": "2026-10-20T20:54:06+00:00",
"source_stale": false,
"source": "https://justscreener.com/analytics",
"generated_at": "2026-10-20T21:19:24+00:00",
"stale": false
},
"errors": null
}
Error codes
| Code |
HTTP |
Meaning |
INVALID_TOKEN |
401 |
The key or connection is invalid, expired or revoked. |
PRO_REQUIRED |
403 |
An active PRO plan is required. |
ACCOUNT_ACCESS_REQUIRED |
403 |
The account is not verified or is blocked. |
CONSENT_REQUIRED |
403 |
Reconnect JustScreener and approve access to settings history and delivery status. |
NOT_FOUND |
404 |
No such record among yours. |
REQUEST_TOO_LARGE |
413 |
The request is too long. |
INVALID_ARGUMENTS |
422 |
Invalid request parameters. |
INVALID_CURSOR |
422 |
The cursor is damaged or stale — start from the first page. |
INVALID_PERIOD |
422 |
The period starts after it ends. |
ACCOUNT_RATE_LIMIT |
429 |
More than 15 requests a minute or a parallel request from one account. |
IP_RATE_LIMIT |
429 |
Too many requests from one address — retry after Retry-After. |
DAILY_CREDITS_EXHAUSTED |
429 |
Today’s credits are used up; they reset at 00:00 UTC. |
MONTHLY_CREDITS_EXHAUSTED |
429 |
This month’s credits are used up. |
GLOBAL_CAPACITY |
429 |
The server is busy — retry after Retry-After. |
EXTERNAL_API_DISABLED |
503 |
API and MCP are closed right now. Try again later. |
DATA_BUILDING |
503 |
Statistics are being built — retry later. |
STATISTICS_DISABLED |
503 |
Statistics are temporarily off. |
RESPONSE_TOO_LARGE |
503 |
The response is too large — narrow the period or filters. |
EXTERNAL_API_UNAVAILABLE |
503 |
A temporary error — retry later. |
PRICE_THRESHOLD_REQUIRED |
422 |
Save a price-rise threshold and interval in the dashboard, then try again. |
PREVIEW_RATE_LIMIT |
429 |
Wait for the price preview limit to reset. |
PREVIEW_BUSY |
429 |
Wait before retrying or request a shorter replay window. |
PREVIEW_UNAVAILABLE |
503 |
The price preview is temporarily unavailable. Try again later. |
PREVIEW_NO_DATA |
503 |
No comparable prices were available in the replay window. Try again later. |
Limits
API and MCP are included in PRO at no extra cost. Each account gets 1,000 credits a month, 150 a day and up to 15 requests a minute. Monthly credits renew on your subscription billing day, daily credits at 00:00 UTC. The quota is shared by all connections and REST; up to 5 apps can be connected at once, and a new one beyond the limit disconnects the oldest.
If a response has a Retry-After header, wait at least that many seconds. Retrying 401 and 403 without fixing access is pointless.