# Addition of Starknet API Version RPC Endpoint

**URL:** <https://community.starknet.io/t/addition-of-starknet-api-version-rpc-endpoint/97934>\
**Category:** Starknet Technical Development\
**Created:** [July 29, 2023, 1:28am UTC](https://community.starknet.io/t/addition-of-starknet-api-version-rpc-endpoint/97934 "2023-07-29T01:28:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptisserand](https://dub1.discourse-cdn.com/flex005/user_avatar/community.starknet.io/ptisserand/32/4078_2.png) [@ptisserand](https://community.starknet.io/u/ptisserand)\
**Post date:** [July 29, 2023, 1:28am UTC](https://community.starknet.io/t/addition-of-starknet-api-version-rpc-endpoint/97934/1 "2023-07-29T01:28:40Z")

</div>

JSON-RPC API is still evolving and backward compatibility is not guaranteed.  
There is no way to know which JSON-RPC version is supported by a given node.

With a `starnet_apiVersion` JSON-RPC endpoint, I think it will help SDK builders and developers to create more reliable applications.

Here is my proposal for the endpoint:

```json
{
   "name": "starknet_apiVersion",
   "summary": "Get JSON RPC API version",
   "params": [],
   "result": {
       "name": "version",
       "description": "API version used by provider",
       "type": "string"
   },
   "errors": []
},

```
