---
title: "Code Local Setup"
method: GET
path: "/code/local-setup"
tags: ["code-sites"]
---

# Code Local Setup

`GET /code/local-setup`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/code/local-setup`
- Auth: API key in header `X-Agent-Key`

Everything the user needs to get the site onto their LOCAL drive and keep it
in sync — XeoRank's only job for local work. After cloning, git is the sync
engine: edit locally → push → the git-linked Vercel project auto-builds. That IS
the branch auto-sync; no separate machinery. Cheap read, no external calls.

## Query parameters

- `email` string, nullable
- `site_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
