ShortSellingMI Platform API
Integration API - a brief description.
While standard visual charts are accessible through the web platform, data can also be machine-accessed, facilitating integration into analytical tools or algorithmic workflows. The system supports data exchange through REST API architecture with short-lived token rotation logic.
Authentication
Short data API access requires authentication first. Retrieve your account and pick
YOUR_ACCESS_TOKEN in the response:
curl --request POST \
--url {BASE_HTTPS_URL}/userapigateway/pnc/signin \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUsername",
"password": "YourPassword"
}'
If the provided credentials are ok, the response looks like this:
YOUR_ACCESS_TOKEN
else, as response, an error message is returned, like this:
Invalid username or password
GET Endpoints
Once authenticated, you can call the following Endpoints and ask for Short Data. Use the generated Access Token to poll the dataset.
cumulative short position registered for a given Stock on specific Day
curl --request GET \
--url {BASE_HTTPS_URL}/userapigateway/pnc/findIT/ STOCK_NAME / DAY \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
The response looks like this:
{
"pnc":
{
"name": "STOCK_NAME",
"dateRef": "DATE",
}
"isin": "ISIN",
"numPositions": NUM_POS,
"totValue": TOTAL_VALUE,
"datePnc": "DATE"
}
Italy stocks market, active cumulative short positions increased/decreased respect last samples
curl --request GET \
--url {BASE_HTTPS_URL}/userapigateway/pnc/findLastDeltaIT \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
for every Italian stock under coverage, only cumulative short positions increased/decreased respect last samples are returned:
Germany stocks market, active cumulative short positions increased/decreased respect last samples
curl --request GET \
--url {BASE_HTTPS_URL}/userapigateway/pnc/findLastDeltaDE \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
for every German stock under coverage, only cumulative short positions increased/decreased respect last samples are returned:
For both endpoints, the response looks like this:
{
"deltas": [
{
"name": "STOCK_NAME",
"dateRef": "DATE",
"isin": "ISIN",
"deltaValue": DELTA
},
{
"name": "STOCK_NAME",
"dateRef": "DATE",
"isin": "ISIN",
"deltaValue": DELTA
}
]
}
Subscription prices
For prices (monthly or yearly plans), terms of service and payment methods write to info@shortsellingmi.it API tutorial and specific documentation will be provided after subscription.