Graphite Spectre
  • Welcome to the Graphite API documentation
  • Accounts
  • API key stats
  • Blocks
  • Common
  • Contracts
  • Common Error Messages
  • Gas Tracker
  • Logs
  • Stats
  • Tokens
  • Transactions
  • WebSocket
Powered by GitBook
On this page
  • Get quantitative request statistics for a given api key and time period
  • Get last api calls for a given api key

API key stats

Get quantitative request statistics for a given api key and time period

Returns quantitative request statistics.

Sample request

https://api.main.atgraphite.com/apikey_stats
   ?apikey=YourApiKeyToken
   &timerange=day

Request query parameters

Parameter
Description

apikey*

the string representing the api key

timerange*

the string pre-defined time period parameter, either hour, day, week or fortnight

Sample response

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "calls": 252,
            "timestamp": 1670410800
        },
        {
            "calls": 256,
            "timestamp": 1670414400
        }
    ] 
}

Get last api calls for a given api key

Returns 20 last calls.

Sample request

https://api.main.atgraphite.com/apikey_lastcalls
   ?apikey=YourApiKeyToken

Request query parameters

Parameter
Description

apikey*

the string representing the api key

Sample response

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "chain": {
                "type": "graphite",
                "network": "mainnet"
            },
            "action": "avgblocktime",
            "from": "10.190.6.130",
            "module": "stats",
            "timestamp": 1670492713,
            "data": null
        },
        {
            "chain": {
                "type": "graphite",
                "network": "mainnet"
            },
            "action": "gettotalwalletcount",
            "from": "10.190.6.130",
            "module": "account",
            "timestamp": 1670492713,
            "data": null
        }
    ] 
}
PreviousAccountsNextBlocks

Last updated 2 months ago