βοΈAPIs
PEAR PROTOCOL REST API
POSITIONS
OPEN POSITIONS
Retrieves all users open positions
CLOSED POSITIONS
Retrieves all users closed positions
METRICS
HOURS
URL: https://api.pearprotocol.io/v1/metric?address=address&time=24h
Retrieves pear metrics for a given hour (24 hours for above url)
Minutes
URL: https://api.pearprotocol.io/v1/metric?address=address&time=30m
Retrieves pear metrics for a given minute (30mins for above url)
Historical
URL: https://api.pearprotocol.io/v1/metric?address=address
Retrieves all pear metrics
Last updated