Welcome to PRISM API Docs

This page will help you get started with the PRISM API

First, make sure you are subscribed to a developer account, and that you have generated an API key in the Settings page.

Below is example Python code to pull the screener table data for the ticker MSFT.

The below code example hard codes the API key as a variable for simplicity. However, it is not recommended to store hardcoded keys in source code. It would be for example, better to grab the API key from an environment variable.

from urllib.request import urlopen
import json

url = 'https://prism-api.algo-nomics.com/screener-ticker/?ticker=MSFT&api_key=abc123'

with urlopen(url) as response:
  body = response.read()
data =  json.loads(body)