{
  "x402Version": 2,
  "id": 32086,
  "slug": "32086",
  "resource": "https://www.mahastrategies.com/api/v1/micro/citation-locator-conversion",
  "description": "Convert half-open UTF-8 byte, UTF-16 code-unit, or Unicode code-point spans into all three units for supplied text. Reject offsets inside a code point. No PDF parsing, page inference, or external source lookup.",
  "type": "http",
  "serviceName": "Citation locator conversion",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "24000",
      "amountUsd": 0.024,
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "24000",
      "amountUsd": 0.024,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "amountBaseUnits": {
            "enum": [
              "24000"
            ],
            "type": "string"
          },
          "boundaries": {
            "maxItems": 128,
            "minItems": 0,
            "type": "array"
          },
          "inputDigest": {
            "maxLength": 71,
            "type": "string"
          },
          "offerId": {
            "enum": [
              "citation-locator-conversion"
            ],
            "type": "string"
          },
          "receiptDigest": {
            "maxLength": 71,
            "type": "string"
          },
          "result": {
            "type": "object"
          },
          "version": {
            "enum": [
              "maha-microproducts/0.1"
            ],
            "type": "string"
          }
        },
        "required": [
          "version",
          "offerId",
          "amountBaseUnits",
          "inputDigest",
          "result",
          "boundaries",
          "receiptDigest"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "dataClass": "synthetic",
            "locators": [
              {
                "end": 7,
                "locatorId": "l1",
                "sourceId": "s1",
                "start": 1,
                "unit": "utf8"
              }
            ],
            "sources": [
              {
                "sourceId": "s1",
                "text": "A😀éZ"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "amountBaseUnits": "24000",
            "boundaries": [
              "Public or synthetic inputs only. Caller labels are declarations,…"
            ],
            "inputDigest": "sha256:f3b482e3206c27c1528abd63ae53f6266d4eb358cc3cfd89c12f81abe…",
            "offerId": "citation-locator-conversion",
            "receiptDigest": "sha256:881d9521afe4758167f3be8bf6f93cf16378c2586497c2f6812c86928…",
            "result": {
              "dataClass": "synthetic",
              "inputSha256": "sha256:f3b482e3206c27c1528abd63ae53f6266d4eb358cc3cfd89c12f81abe…",
              "limits": [
                "Public/synthetic is a caller declaration, not content inspection…"
              ],
              "locators": [
                {
                  "codepointEnd": 3,
                  "codepointStart": 1,
                  "excerptSha256": "sha256:71b897d47640bd5e39412fb2d81c5d04b1195fc5524663a7704b6bfe2…",
                  "locatorId": "l1",
                  "sourceId": "s1",
                  "utf16End": 4,
                  "utf16Start": 1,
                  "utf8End": 7,
                  "utf8Start": 1
                }
              ],
              "offsetConvention": "zero-based-half-open",
              "resultSha256": "sha256:2cd724f8198f25ee297716e3646f5d9e7106e515b4ac31fdfa05e48be…",
              "sourcesVerified": false
            },
            "version": "maha-microproducts/0.1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "dataClass": {
                    "enum": [
                      "public",
                      "synthetic"
                    ],
                    "type": "string"
                  },
                  "locators": {
                    "maxItems": 64,
                    "minItems": 1,
                    "type": "array"
                  },
                  "sources": {
                    "maxItems": 16,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "dataClass",
                  "sources",
                  "locators"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "amountBaseUnits": {
                    "enum": [
                      "24000"
                    ],
                    "type": "string"
                  },
                  "boundaries": {
                    "maxItems": 128,
                    "minItems": 0,
                    "type": "array"
                  },
                  "inputDigest": {
                    "maxLength": 71,
                    "type": "string"
                  },
                  "offerId": {
                    "enum": [
                      "citation-locator-conversion"
                    ],
                    "type": "string"
                  },
                  "receiptDigest": {
                    "maxLength": 71,
                    "type": "string"
                  },
                  "result": {
                    "type": "object"
                  },
                  "version": {
                    "enum": [
                      "maha-microproducts/0.1"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "version",
                  "offerId",
                  "amountBaseUnits",
                  "inputDigest",
                  "result",
                  "boundaries",
                  "receiptDigest"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "declaration-integrity": {
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/citation-locator-conversion",
      "declarationDigest": "sha256:4191a6c827889d90e35cfa6719ae69ddb3a68379a3027a9bb825611cb3d58dd1",
      "metadataVersion": "2026-08-10"
    },
    "maha-offer": {
      "amount": "24000",
      "asset": "USDC",
      "assetDecimals": 6,
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/citation-locator-conversion",
      "declarationInline": "compact",
      "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/citation-locator-conversion",
      "fullSourceTextStored": false,
      "maxRequestBytes": 32768,
      "method": "POST",
      "network": "eip155:8453",
      "networks": [
        "eip155:8453",
        "eip155:42161"
      ],
      "offerId": "citation-locator-conversion",
      "payableInProduction": true,
      "status": "available",
      "verbatimExcerptsRetained": false
    }
  },
  "tags": [
    "expansion-20261011",
    "context",
    "bounded-computation",
    "evidence",
    "deterministic",
    "bazaar",
    "declaration-integrity",
    "maha-offer"
  ],
  "sourceHost": "www.mahastrategies.com",
  "lastUpdated": "2026-10-13T02:31:19.519Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T02:31:19.22Z"
  },
  "metadata": {
    "serviceName": "Citation locator conversion",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "dataClass": "synthetic",
              "locators": [
                {
                  "end": 7,
                  "locatorId": "l1",
                  "sourceId": "s1",
                  "start": 1,
                  "unit": "utf8"
                }
              ],
              "sources": [
                {
                  "sourceId": "s1",
                  "text": "A😀éZ"
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "amountBaseUnits": "24000",
              "boundaries": [
                "Public or synthetic inputs only. Caller labels are declarations,…"
              ],
              "inputDigest": "sha256:f3b482e3206c27c1528abd63ae53f6266d4eb358cc3cfd89c12f81abe…",
              "offerId": "citation-locator-conversion",
              "receiptDigest": "sha256:881d9521afe4758167f3be8bf6f93cf16378c2586497c2f6812c86928…",
              "result": {
                "dataClass": "synthetic",
                "inputSha256": "sha256:f3b482e3206c27c1528abd63ae53f6266d4eb358cc3cfd89c12f81abe…",
                "limits": [
                  "Public/synthetic is a caller declaration, not content inspection…"
                ],
                "locators": [
                  {
                    "codepointEnd": 3,
                    "codepointStart": 1,
                    "excerptSha256": "sha256:71b897d47640bd5e39412fb2d81c5d04b1195fc5524663a7704b6bfe2…",
                    "locatorId": "l1",
                    "sourceId": "s1",
                    "utf16End": 4,
                    "utf16Start": 1,
                    "utf8End": 7,
                    "utf8Start": 1
                  }
                ],
                "offsetConvention": "zero-based-half-open",
                "resultSha256": "sha256:2cd724f8198f25ee297716e3646f5d9e7106e515b4ac31fdfa05e48be…",
                "sourcesVerified": false
              },
              "version": "maha-microproducts/0.1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "dataClass": {
                      "enum": [
                        "public",
                        "synthetic"
                      ],
                      "type": "string"
                    },
                    "locators": {
                      "maxItems": 64,
                      "minItems": 1,
                      "type": "array"
                    },
                    "sources": {
                      "maxItems": 16,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "dataClass",
                    "sources",
                    "locators"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "amountBaseUnits": {
                      "enum": [
                        "24000"
                      ],
                      "type": "string"
                    },
                    "boundaries": {
                      "maxItems": 128,
                      "minItems": 0,
                      "type": "array"
                    },
                    "inputDigest": {
                      "maxLength": 71,
                      "type": "string"
                    },
                    "offerId": {
                      "enum": [
                        "citation-locator-conversion"
                      ],
                      "type": "string"
                    },
                    "receiptDigest": {
                      "maxLength": 71,
                      "type": "string"
                    },
                    "result": {
                      "type": "object"
                    },
                    "version": {
                      "enum": [
                        "maha-microproducts/0.1"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "version",
                    "offerId",
                    "amountBaseUnits",
                    "inputDigest",
                    "result",
                    "boundaries",
                    "receiptDigest"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "declaration-integrity": {
        "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/citation-locator-conversion",
        "declarationDigest": "sha256:4191a6c827889d90e35cfa6719ae69ddb3a68379a3027a9bb825611cb3d58dd1",
        "metadataVersion": "2026-08-10"
      },
      "maha-offer": {
        "amount": "24000",
        "asset": "USDC",
        "assetDecimals": 6,
        "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/citation-locator-conversion",
        "declarationInline": "compact",
        "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/citation-locator-conversion",
        "fullSourceTextStored": false,
        "maxRequestBytes": 32768,
        "method": "POST",
        "network": "eip155:8453",
        "networks": [
          "eip155:8453",
          "eip155:42161"
        ],
        "offerId": "citation-locator-conversion",
        "payableInProduction": true,
        "status": "available",
        "verbatimExcerptsRetained": false
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.mahastrategies.com",
    "manifest_name": "www.mahastrategies.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "amountBaseUnits": "24000",
    "boundaries": [
      "Public or synthetic inputs only. Caller labels are declarations,…"
    ],
    "inputDigest": "sha256:f3b482e3206c27c1528abd63ae53f6266d4eb358cc3cfd89c12f81abe…",
    "offerId": "citation-locator-conversion",
    "receiptDigest": "sha256:881d9521afe4758167f3be8bf6f93cf16378c2586497c2f6812c86928…",
    "result": {
      "dataClass": "synthetic",
      "inputSha256": "sha256:f3b482e3206c27c1528abd63ae53f6266d4eb358cc3cfd89c12f81abe…",
      "limits": [
        "Public/synthetic is a caller declaration, not content inspection…"
      ],
      "locators": [
        {
          "codepointEnd": 3,
          "codepointStart": 1,
          "excerptSha256": "sha256:71b897d47640bd5e39412fb2d81c5d04b1195fc5524663a7704b6bfe2…",
          "locatorId": "l1",
          "sourceId": "s1",
          "utf16End": 4,
          "utf16Start": 1,
          "utf8End": 7,
          "utf8Start": 1
        }
      ],
      "offsetConvention": "zero-based-half-open",
      "resultSha256": "sha256:2cd724f8198f25ee297716e3646f5d9e7106e515b4ac31fdfa05e48be…",
      "sourcesVerified": false
    },
    "version": "maha-microproducts/0.1"
  }
}