Hello,
I'm getting 403 Forbidden errors when accessing the Congress.gov API from my WordPress server, but my API key works perfectly in my web browser.
Details:
What works:
✅ API works in my web browser
✅ API key is valid and active
What doesn't work:
❌ WordPress server requests get 403 Forbidden
❌ Tried different User-Agent headers
❌ Tried both wp_remote_get and cURL
❌ Got new API key - still 403
This appears to be an IP-based block. Could my server's IP address be whitelisted for API access?
Thank you!