---
title: "Create and register a scan to track P2S address provided"
method: POST
path: "/scan/p2sRule"
tags: ["scan"]
---

# Create and register a scan to track P2S address provided

`POST /scan/p2sRule`

## Request body

- string

## Response `200`

Id of custom scan generated and registered

- ScanId
  - `scanId` integer

## Other responses

- `400` — Bad source
- `default` — Error

---

[API](https://skmtc.dev/ergoplatform/apis/ergo-node-api.md) · [All operations](https://skmtc.dev/ergoplatform/apis/ergo-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ergoplatform/ergo-node-api/revisions/a731602272c6/schema)
