Skip to content

feat: point v2 base URL to v2-api.scrapegraphai.com/api/v2#17

Merged
VinciGit00 merged 3 commits intomainfrom
feat/migrate-v2-api
Apr 20, 2026
Merged

feat: point v2 base URL to v2-api.scrapegraphai.com/api/v2#17
VinciGit00 merged 3 commits intomainfrom
feat/migrate-v2-api

Conversation

@VinciGit00
Copy link
Copy Markdown
Member

Summary

  • Switch default API base from https://api.scrapegraphai.com/v2 to https://v2-api.scrapegraphai.com/api/v2 in server.py
  • Update README, server.json, and .agent/ docs to match
  • Env override SGAI_API_URL still honored; no behavioral changes beyond the host

Test plan

  • curl -H "SGAI-APIKEY: …" https://v2-api.scrapegraphai.com/api/v2/credits → 200
  • ScapeGraphClient(...).credits() hits the new host and returns credit info
  • Smoke-check any downstream deploys that pin SGAI_API_URL

🤖 Generated with Claude Code

VinciGit00 and others added 3 commits April 20, 2026 11:57
New API host for v2 endpoints. Verified against GET /credits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Kept v2-api.scrapegraphai.com/api base URL (PR #17 direction) while
adopting main's SGAI_TIMEOUT env var name and monitor_activity addition.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@VinciGit00 VinciGit00 merged commit f5ce697 into main Apr 20, 2026
2 checks passed
@VinciGit00 VinciGit00 deleted the feat/migrate-v2-api branch April 20, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant