Get billing subscription status
curl --request GET \
--url https://api.sitespy.app/api/v1/billing/status \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/billing/status"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/billing/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"plan": "free",
"subscription_status": "<string>",
"ls_subscription_id": "<string>",
"current_period_end": "<string>"
}Billing
Get billing subscription status
Returns the current subscription status and metadata.
GET
/
billing
/
status
Get billing subscription status
curl --request GET \
--url https://api.sitespy.app/api/v1/billing/status \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/billing/status"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/billing/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"plan": "free",
"subscription_status": "<string>",
"ls_subscription_id": "<string>",
"current_period_end": "<string>"
}Authorizations
API key for authentication. You can find your API key in the Site Spy dashboard under Settings → API.

