You are here, from the API call with the query param
action=getabi, requesting the ABI of the contract. So it supposed to return the ABI but nothing else, as you have correctly gotten.
Since you need to read a value of a variable in the contract using query param
action=eth_call might do this. Refer this discussion here as well.
I think, I got it working. I haven't dealt much with etherscan API. But I think this is what you are looking for.
As per the discussion above mentioned, you first need to get the Keccak-256 Hash value of
paused() and get the sub-string of 8 characters and join
0x to the front =>
0x5c975abb. Then query param
data should set to that. i.e.
Then the API url should look like;
The response I got looked;
result should be the value of paused which is 1 means