OpenRush Websites API
The websites API from OpenRush — 6 operation(s) for websites.
The websites API from OpenRush — 6 operation(s) for websites.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/openrush-com:openrush-com-websites-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: OpenRush Websites API
description: 'The ground-truth marketing data layer for AI agents. Every response is a typed envelope: compact data, typed facts, entity index, deltas, provenance, coverage, next actions.'
version: 0.1.0
tags:
- name: websites
paths:
/v1/me/websites:
get:
tags:
- websites
summary: List Connections
description: 'The owned-data discovery projection behind the `list_connections` tool:
websites with their per-product connection state, plus activated ad accounts.
The route path stays `/websites` for dashboard compatibility.'
operationId: list_connections_v1_me_websites_get
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebsitesResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- websites
summary: Create Website
operationId: create_website_v1_me_websites_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WebsiteCreateRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/websites/{website_id}/domains:
post:
tags:
- websites
summary: Add Website Domain
operationId: add_website_domain_v1_me_websites__website_id__domains_post
parameters:
- name: website_id
in: path
required: true
schema:
type: string
title: Website Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WebsiteDomainCreateRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/websites/{website_id}/source-bindings:
post:
tags:
- websites
summary: Create Source Binding
operationId: create_source_binding_v1_me_websites__website_id__source_bindings_post
parameters:
- name: website_id
in: path
required: true
schema:
type: string
title: Website Id
- name: product
in: query
required: false
schema:
type: string
default: gsc
title: Product
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SourceBindingCreateRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/source-properties/{source_property_id}/bind:
post:
tags:
- websites
summary: Bind Source Property
description: 'One-click bind: derive the domain + website from the property itself, so
the dashboard sends only a property id (no website/domain to pick). `product`
(gsc | ga4) selects which owned-data property namespace to bind from.'
operationId: bind_source_property_v1_me_source_properties__source_property_id__bind_post
parameters:
- name: source_property_id
in: path
required: true
schema:
type: string
title: Source Property Id
- name: product
in: query
required: false
schema:
type: string
default: gsc
title: Product
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/source-bindings/{binding_id}:
delete:
tags:
- websites
summary: Delete Source Binding
operationId: delete_source_binding_v1_me_source_bindings__binding_id__delete
parameters:
- name: binding_id
in: path
required: true
schema:
type: string
title: Binding Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/ad-accounts/{source_property_id}/activate:
post:
tags:
- websites
summary: Activate Ad Account
description: Activate a discovered ad account so OpenRush may query and bill it (§9).
operationId: activate_ad_account_v1_me_ad_accounts__source_property_id__activate_post
parameters:
- name: source_property_id
in: path
required: true
schema:
type: string
title: Source Property Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- websites
summary: Deactivate Ad Account
description: 'Deactivate an ad account (toggle-off): OpenRush stops querying/billing it.'
operationId: deactivate_ad_account_v1_me_ad_accounts__source_property_id__activate_delete
parameters:
- name: source_property_id
in: path
required: true
schema:
type: string
title: Source Property Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
WebsiteDomainCreateRequest:
properties:
domain:
type: string
maxLength: 253
minLength: 3
title: Domain
is_primary:
type: boolean
title: Is Primary
default: false
canonical_url:
anyOf:
- type: string
maxLength: 2048
- type: 'null'
title: Canonical Url
type: object
required:
- domain
title: WebsiteDomainCreateRequest
WebsitePublic:
properties:
website_id:
type: string
title: Website Id
name:
type: string
title: Name
primary_domain:
anyOf:
- type: string
- type: 'null'
title: Primary Domain
is_default:
type: boolean
title: Is Default
default: false
connections:
additionalProperties:
type: string
type: object
title: Connections
default: {}
type: object
required:
- website_id
- name
title: WebsitePublic
WebsitesResponse:
properties:
websites:
items:
$ref: '#/components/schemas/WebsitePublic'
type: array
title: Websites
ad_accounts:
items:
additionalProperties: true
type: object
type: array
title: Ad Accounts
default: []
type: object
required:
- websites
title: WebsitesResponse
SourceBindingCreateRequest:
properties:
source_property_id:
type: string
maxLength: 36
minLength: 1
title: Source Property Id
domain:
anyOf:
- type: string
maxLength: 253
- type: 'null'
title: Domain
is_primary:
type: boolean
title: Is Primary
default: false
type: object
required:
- source_property_id
title: SourceBindingCreateRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
WebsiteCreateRequest:
properties:
name:
type: string
maxLength: 200
minLength: 1
title: Name
is_default:
type: boolean
title: Is Default
default: false
type: object
required:
- name
title: WebsiteCreateRequest