Generic Resources

Generic resources are the root resources of the API. They are not associated with any specific entity.

Metadata

GET
/{appname}/metadata
Free

Requests metadata information from the server. If the hash parameter is specified and the value provided is the latest metadata hash, the response is set to cache on the client. The response header will not contain an appVersion attribute even if there is a valid application version.

Parameters

Name Location Type Required Description
hash query string Optional

A unique identifier used to identify a copy of a dataset for consistency.

Responses

default MetadataResponse Returns metadata information including filter definitions, regions, networks, currencies, player statistics definitions, tournament statistics definitions, and default player classes.

Natural Language Filter

GET
/{appname}/filters/nlq
Auth Required 1 search

Converts a natural-language question into a SharkScope filter expression.
Supply the query text in the question parameter; the optional timezone
and locale parameters localise date and number parsing. The returned
filter can then be passed to any resource that accepts a filter parameter.
Requires a subscription and costs 1 search per call.

Parameters

Name Location Type Required Description
appname path string Required

Name of your application used to access the API

question query string Optional -
timezone query string Optional

The timezone to use, as a string.

locale query string Optional -

Responses

default Response default response

Hand Analysis

POST
/{appname}/handanalysis
Auth Required 5 searches

Submits a single hand history (in the request body) for AI-assisted
analysis and returns a natural-language assessment of how the hand was
played. The optional langCode query parameter selects the response
language (defaults to English). Available to subscribers only; each
successful analysis costs 5 searches.

Parameters

Name Location Type Required Description
appname path string Required

Name of your application used to access the API

langCode query string Optional -

Responses

default Response default response

Countries

GET
/{appname}/metadata/countries
Free

Returns the list of countries SharkScope recognises, for use in
country-filtered queries and player-location display. Takes no parameters.

Responses

default Response default response

What's New

GET
/{appname}/news/whatsnew
Free

Returns recent "What's New" announcements (product news and feature
updates). The optional limit parameter caps the number of items returned.

Parameters

Name Location Type Required Description
limit query integer Optional

The maximum number of items to return in the response. If not specified, no limit is applied.

Responses

default Response default response