How many URLs a site in the connected Bing Webmaster Tools account can still submit to Bing today and this month.
curl -X POST "https://api.primaryapi.com/v1/run/bing-webmaster.url_submission_quota" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"siteUrl":"https://www.example.com/"}'{
"output": {
"found": true,
"data": {
"dailyQuota": 5,
"monthlyQuota": 24,
"siteUrl": "https://www.example.com/"
}
},
"credits": 1
}Input and output
2 fields
https://www.example.com/.3 fields
Good to know
Runs as your connected Bing Webmaster Tools account. Needs the Read Bing Webmaster Tools capability.
Check it before bing-webmaster.submit_url or bing-webmaster.submit_url_batch.
A site the account has not verified is a miss with reason no_access.
Unknown site URL? It comes back as not found, not as an error.
The same key and credits work for every API.