{
  "x402Version": 2,
  "id": 57509,
  "slug": "57509",
  "resource": "https://api.weblens.dev/extract",
  "description": "Extract structured data from any webpage using JSON schema. AI-powered extraction that understands page context.",
  "type": "http",
  "serviceName": "WebLens",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5f71Ce4135004b5fa4dF81014721598E1C7c5AF8",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "34sd6wPrmoR9UG9rUgYAFtcWYSVzqDNsvH9VkCkycUeb",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "description": "Extracted data matching the provided schema",
            "type": "object"
          },
          "extractedAt": {
            "description": "ISO timestamp",
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "url": {
            "description": "Source URL",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "instructions": "Extract the page title and what the domain is for",
            "schema": {
              "purpose": {
                "type": "string"
              },
              "title": {
                "type": "string"
              }
            },
            "url": "https://example.com"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "purpose": "For use in documentation examples",
              "title": "Example Domain"
            },
            "extractedAt": "2026-01-26T12:00:00.000Z",
            "requestId": "req_extract789",
            "url": "https://example.com"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "instructions": {
                    "description": "Natural language extraction hints",
                    "example": "Extract the page title and what the domain is for",
                    "type": "string"
                  },
                  "schema": {
                    "additionalProperties": {},
                    "description": "JSON schema for extraction",
                    "example": {
                      "purpose": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      }
                    },
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "url": {
                    "description": "The URL to process",
                    "example": "https://example.com",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "schema"
                ],
                "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": {
                "properties": {
                  "data": {
                    "description": "Extracted data matching the provided schema",
                    "type": "object"
                  },
                  "extractedAt": {
                    "description": "ISO timestamp",
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "url": {
                    "description": "Source URL",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "extraction",
    "ai",
    "structured-data",
    "bazaar"
  ],
  "sourceHost": "api.weblens.dev",
  "lastUpdated": "2026-10-13T17:22:47.454Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T17:22:46.075Z"
  },
  "metadata": {
    "serviceName": "WebLens",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "instructions": "Extract the page title and what the domain is for",
              "schema": {
                "purpose": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                }
              },
              "url": "https://example.com"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "purpose": "For use in documentation examples",
                "title": "Example Domain"
              },
              "extractedAt": "2026-01-26T12:00:00.000Z",
              "requestId": "req_extract789",
              "url": "https://example.com"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "instructions": {
                      "description": "Natural language extraction hints",
                      "example": "Extract the page title and what the domain is for",
                      "type": "string"
                    },
                    "schema": {
                      "additionalProperties": {},
                      "description": "JSON schema for extraction",
                      "example": {
                        "purpose": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    "url": {
                      "description": "The URL to process",
                      "example": "https://example.com",
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "schema"
                  ],
                  "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": {
                  "properties": {
                    "data": {
                      "description": "Extracted data matching the provided schema",
                      "type": "object"
                    },
                    "extractedAt": {
                      "description": "ISO timestamp",
                      "type": "string"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "url": {
                      "description": "Source URL",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.weblens.dev",
    "manifest_name": "api.weblens.dev",
    "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": {
    "example": {
      "data": {},
      "extractedAt": "string",
      "requestId": "string",
      "url": "string"
    },
    "type": "string"
  }
}