> For the complete documentation index, see [llms.txt](https://berylbit-labs.gitbook.io/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://berylbit-labs.gitbook.io/product-docs/product-guides-1/api.md).

# API

We will be using the GETH playground for api calling.&#x20;

{% embed url="<https://playground.open-rpc.org/?schemaUrl=https://raw.githubusercontent.com/ethereum/execution-apis/assembled-spec/openrpc.json&uiSchema[appBar>]\[ui:examplesDropdown]=false\&uiSchema\[appBar]\[ui:input]=false\&uiSchema\[appBar]\[ui:splitView]=false" %}

<figure><img src="/files/YSSqizu4Vwkn5Aw5SBtF" alt=""><figcaption></figcaption></figure>

Make sure your readings are set to HTTP

<figure><img src="/files/theTgpmoAZMCvMNrpRX7" alt=""><figcaption></figcaption></figure>

Find the API call you are looking for, click on "TRY IT NOW"

<figure><img src="/files/SJBO5Zw8YNshnAOIXfjG" alt=""><figcaption></figcaption></figure>

Set it to HTTP, type in the Berylbit RPC URL which is <https://mainnet.berylbit.io> then click the play button

<figure><img src="/files/U9QIy7slnvLrKaIN8iMO" alt=""><figcaption></figcaption></figure>

\*If it sends in errors or bad requests refresh the page and try again\*&#x20;

Now that we got our result, it gives the result in Hexadecimal format. Using this website - [**https://www.rapidtables.com/convert/number/hex-to-decimal.html**](https://www.rapidtables.com/convert/number/hex-to-decimal.html) **I can find the Berylbit gas fee on the network**&#x20;

**Here is a example of me finding out the Chain ID from API calling and decoding the HEX to decimal**&#x20;

<figure><img src="/files/bXBu96OUswj6gfBh9WRb" alt=""><figcaption></figcaption></figure>
