{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Reddit",
    "version": "1",
    "x-aisa-capabilities": {
      "idempotency": "Idempotency-Key",
      "max_price": "X-AISA-Max-Price-USD",
      "quote": {
        "header": "X-AISA-Cost-Mode",
        "value": "quote"
      }
    },
    "x-aisa-catalogs": {
      "reddit": {
        "description": "",
        "title": "Reddit",
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        },
        "x-aisa-document": {
          "facts_hash": "bbc346d3dc65634ab8d49e10af5329a774d638f01478406e94ca0abf4e372ff4",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/reddit/posts",
      "/apis/v1/reddit/posts/comments",
      "/apis/v1/reddit/posts/transcript",
      "/apis/v1/reddit/subreddits",
      "/apis/v1/reddit/subreddits/search",
      "/apis/v1/reddit/subreddits/{subreddit}/posts"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "bbc346d3dc65634ab8d49e10af5329a774d638f01478406e94ca0abf4e372ff4",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:02d9de146458f5a4a2218ae8b72112cc6627d487be8be5e11b2bc2e5d20b75d1"
      },
      "document_hash": "sha256:70a9529316f6ed7f33816fc0d7336d968d948374840be362386aec278465a5d3"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "reddit"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/reddit/posts": {
      "get": {
        "description": "Returns a Reddit post by URL. Required input: `url`.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "reddit.posts",
        "parameters": [
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Link to the Reddit post.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "post": {
                          "additionalProperties": true,
                          "properties": {
                            "author": {
                              "type": "string"
                            },
                            "createdAt": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "score": {
                              "type": "integer"
                            },
                            "text": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-26.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-26",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Reddit post",
        "tags": [
          "Reddit"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "reddit",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/reddit/reddit-posts",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "cad14252cb19fa70c23d05f00afb818d89be6d44846b3fdb6d024b281a0a2cd8",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-26",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "post": {
                      "additionalProperties": true,
                      "properties": {
                        "author": {
                          "type": "string"
                        },
                        "createdAt": {
                          "type": "string"
                        },
                        "id": {
                          "type": "string"
                        },
                        "score": {
                          "type": "integer"
                        },
                        "text": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "reddit.posts",
          "path": "/apis/v1/reddit/posts"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/reddit/posts/comments": {
      "get": {
        "description": "Lists comments on a Reddit post by URL. Required input: `url`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "reddit.posts.comments",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response to fetch another page of comments or replies.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "When true, requests a lighter response shape when available.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Link to the Reddit post.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "comments": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "author": {
                                "type": "string"
                              },
                              "createdAt": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "replies": {
                                "additionalProperties": true,
                                "properties": {
                                  "items": {
                                    "items": {
                                      "additionalProperties": true,
                                      "properties": {
                                        "author": {
                                          "type": "string"
                                        },
                                        "createdAt": {
                                          "type": "string"
                                        },
                                        "id": {
                                          "type": "string"
                                        },
                                        "replies": {
                                          "additionalProperties": true,
                                          "properties": {
                                            "items": {
                                              "items": {
                                                "additionalProperties": true,
                                                "properties": {
                                                  "author": {
                                                    "type": "string"
                                                  },
                                                  "createdAt": {
                                                    "type": "string"
                                                  },
                                                  "id": {
                                                    "type": "string"
                                                  },
                                                  "replies": {
                                                    "additionalProperties": true,
                                                    "properties": {
                                                      "items": {
                                                        "items": {},
                                                        "type": "array"
                                                      },
                                                      "page": {
                                                        "additionalProperties": true,
                                                        "properties": {
                                                          "hasMore": {
                                                            "type": "boolean"
                                                          },
                                                          "nextCursor": {
                                                            "type": "null"
                                                          }
                                                        },
                                                        "type": "object"
                                                      }
                                                    },
                                                    "type": "object"
                                                  },
                                                  "score": {
                                                    "type": "integer"
                                                  },
                                                  "text": {
                                                    "type": "string"
                                                  },
                                                  "url": {
                                                    "type": "string"
                                                  }
                                                },
                                                "type": "object"
                                              },
                                              "type": "array"
                                            },
                                            "page": {
                                              "additionalProperties": true,
                                              "properties": {
                                                "hasMore": {
                                                  "type": "boolean"
                                                },
                                                "nextCursor": {
                                                  "type": [
                                                    "null",
                                                    "string"
                                                  ]
                                                }
                                              },
                                              "type": "object"
                                            }
                                          },
                                          "type": "object"
                                        },
                                        "score": {
                                          "type": "integer"
                                        },
                                        "text": {
                                          "type": "string"
                                        },
                                        "url": {
                                          "type": "string"
                                        }
                                      },
                                      "type": "object"
                                    },
                                    "type": "array"
                                  },
                                  "page": {
                                    "additionalProperties": true,
                                    "properties": {
                                      "hasMore": {
                                        "type": "boolean"
                                      },
                                      "nextCursor": {
                                        "type": [
                                          "null",
                                          "string"
                                        ]
                                      }
                                    },
                                    "type": "object"
                                  }
                                },
                                "type": "object"
                              },
                              "score": {
                                "type": "integer"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "page": {
                          "additionalProperties": true,
                          "properties": {
                            "hasMore": {
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "type": [
                                "null",
                                "string"
                              ]
                            }
                          },
                          "type": "object"
                        },
                        "post": {
                          "additionalProperties": true,
                          "properties": {
                            "author": {
                              "type": "string"
                            },
                            "createdAt": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "score": {
                              "type": "integer"
                            },
                            "text": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-28.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-28",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List Reddit post comments",
        "tags": [
          "Reddit"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "reddit",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/reddit/reddit-posts-comments",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "e37373d59f328352cd43f0f8f6d50cdc8c40504f724b160b8870a2219790fc9e",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "comments": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "author": {
                            "type": "string"
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "replies": {
                            "additionalProperties": true,
                            "properties": {
                              "items": {
                                "items": {
                                  "additionalProperties": true,
                                  "properties": {
                                    "author": {
                                      "type": "string"
                                    },
                                    "createdAt": {
                                      "type": "string"
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "replies": {
                                      "additionalProperties": true,
                                      "properties": {
                                        "items": {
                                          "items": {
                                            "additionalProperties": true,
                                            "properties": {
                                              "author": {
                                                "type": "string"
                                              },
                                              "createdAt": {
                                                "type": "string"
                                              },
                                              "id": {
                                                "type": "string"
                                              },
                                              "replies": {
                                                "additionalProperties": true,
                                                "properties": {
                                                  "items": {
                                                    "items": {},
                                                    "type": "array"
                                                  },
                                                  "page": {
                                                    "additionalProperties": true,
                                                    "properties": {
                                                      "hasMore": {
                                                        "type": "boolean"
                                                      },
                                                      "nextCursor": {
                                                        "type": "null"
                                                      }
                                                    },
                                                    "type": "object"
                                                  }
                                                },
                                                "type": "object"
                                              },
                                              "score": {
                                                "type": "integer"
                                              },
                                              "text": {
                                                "type": "string"
                                              },
                                              "url": {
                                                "type": "string"
                                              }
                                            },
                                            "type": "object"
                                          },
                                          "type": "array"
                                        },
                                        "page": {
                                          "additionalProperties": true,
                                          "properties": {
                                            "hasMore": {
                                              "type": "boolean"
                                            },
                                            "nextCursor": {
                                              "type": [
                                                "null",
                                                "string"
                                              ]
                                            }
                                          },
                                          "type": "object"
                                        }
                                      },
                                      "type": "object"
                                    },
                                    "score": {
                                      "type": "integer"
                                    },
                                    "text": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    }
                                  },
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "page": {
                                "additionalProperties": true,
                                "properties": {
                                  "hasMore": {
                                    "type": "boolean"
                                  },
                                  "nextCursor": {
                                    "type": [
                                      "null",
                                      "string"
                                    ]
                                  }
                                },
                                "type": "object"
                              }
                            },
                            "type": "object"
                          },
                          "score": {
                            "type": "integer"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "post": {
                      "additionalProperties": true,
                      "properties": {
                        "author": {
                          "type": "string"
                        },
                        "createdAt": {
                          "type": "string"
                        },
                        "id": {
                          "type": "string"
                        },
                        "score": {
                          "type": "integer"
                        },
                        "text": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.042,
          "estimate_source": "profile_seed",
          "maximum_units": 3
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "reddit.posts.comments",
          "path": "/apis/v1/reddit/posts/comments"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/reddit/posts/transcript": {
      "get": {
        "description": "Returns the caption transcript for a Reddit video post. Required input: `url`.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "reddit.posts.transcript",
        "parameters": [
          {
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "description": "Optional ISO 639-1 language code (two letters) to prefer when multiple caption tracks exist.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Link to the Reddit post or hosted video.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "lookupStatus": {
                          "type": "string"
                        },
                        "post": {
                          "additionalProperties": true,
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            },
                            "videoId": {
                              "type": "null"
                            }
                          },
                          "type": "object"
                        },
                        "transcript": {
                          "type": "null"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-14.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-14",
              "origins": [
                "probe"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Reddit post transcript",
        "tags": [
          "Reddit"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "reddit",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/reddit/reddit-posts-transcript",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "b9e827b7af8f6d7d4852e81ab4e437bc3425aa6b7e2c70fdb4ecd0d9dee34cc8",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-14",
            "origins": [
              "probe"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "lookupStatus": {
                      "type": "string"
                    },
                    "post": {
                      "additionalProperties": true,
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        },
                        "videoId": {
                          "type": "null"
                        }
                      },
                      "type": "object"
                    },
                    "transcript": {
                      "type": "null"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.07,
          "estimate_source": "profile_seed",
          "maximum_units": 5
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "reddit.posts.transcript",
          "path": "/apis/v1/reddit/posts/transcript"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/reddit/subreddits": {
      "get": {
        "description": "Returns details for a Reddit community (subreddit). Provide `subreddit` or `url`.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "reddit.subreddits",
        "parameters": [
          {
            "in": "query",
            "name": "subreddit",
            "required": false,
            "schema": {
              "description": "Subreddit name, optional `r/` prefix, or Reddit subreddit URL. Must match Reddit's exact casing.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": false,
            "schema": {
              "description": "Optional subreddit URL for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-25.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-25",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Reddit subreddit",
        "tags": [
          "Reddit"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "reddit",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/reddit/reddit-subreddits",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "198326478b774f4404761561d24b891020cf33e20f4881c64077a5d489876087",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-25",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "reddit.subreddits",
          "path": "/apis/v1/reddit/subreddits"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/reddit/subreddits/search": {
      "get": {
        "description": "Searches posts within one subreddit by keyword. `subreddit` accepts the name (optionally with `r/`) or the subreddit URL, in Reddit's exact casing. Required input: `subreddit`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "reddit.subreddits.search",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "description": "Search text to match against public subreddit posts.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "description": "Sort order for search results. Default: `relevance`.",
              "enum": [
                "comments",
                "hot",
                "new",
                "relevance",
                "top"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "subreddit",
            "required": true,
            "schema": {
              "description": "Subreddit name, optional `r/` prefix, or Reddit subreddit URL. Must match Reddit's exact casing. Searches posts within this subreddit.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "timeframe",
            "required": false,
            "schema": {
              "description": "Time range filter for search results. Default: `all`.",
              "enum": [
                "all",
                "day",
                "hour",
                "month",
                "week",
                "year"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "page": {
                          "additionalProperties": true,
                          "properties": {
                            "hasMore": {
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "type": [
                                "null",
                                "string"
                              ]
                            }
                          },
                          "type": "object"
                        },
                        "posts": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "author": {
                                "additionalProperties": true,
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "username": {
                                    "type": "string"
                                  }
                                },
                                "type": [
                                  "null",
                                  "object"
                                ]
                              },
                              "createdAt": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "position": {
                                "type": "integer"
                              },
                              "postId": {
                                "type": "string"
                              },
                              "text": {
                                "type": "null"
                              },
                              "thumbnailUrl": {
                                "type": "null"
                              },
                              "title": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "query": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-28.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-28",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search Reddit subreddit",
        "tags": [
          "Reddit"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "reddit",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/reddit/reddit-subreddits-search",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "535ca5e7a2e53be4f8739d34a0e10423802f0f81924a2d6048cca8199844b6d8",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "posts": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "author": {
                            "additionalProperties": true,
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "username": {
                                "type": "string"
                              }
                            },
                            "type": [
                              "null",
                              "object"
                            ]
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "position": {
                            "type": "integer"
                          },
                          "postId": {
                            "type": "string"
                          },
                          "text": {
                            "type": "null"
                          },
                          "thumbnailUrl": {
                            "type": "null"
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "query": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "reddit.subreddits.search",
          "path": "/apis/v1/reddit/subreddits/search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/reddit/subreddits/{subreddit}/posts": {
      "get": {
        "description": "Lists a subreddit's post feed (hot, new or top; no keyword). To search within a subreddit, use the subreddit search operation. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "reddit.subreddits.subreddit.posts",
        "parameters": [
          {
            "in": "path",
            "name": "subreddit",
            "required": true,
            "schema": {
              "description": "Subreddit name, optional `r/` prefix, or Reddit subreddit URL. Must match Reddit's exact casing. Lists posts for this subreddit.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque pagination cursor from a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "description": "Optional sort order for the returned posts.",
              "enum": [
                "best",
                "hot",
                "new",
                "rising",
                "top"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "timeframe",
            "required": false,
            "schema": {
              "description": "Optional timeframe used only when `sort` is `top`. Ignored/rejected for other sorts.",
              "enum": [
                "all",
                "day",
                "month",
                "week",
                "year"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "page": {
                          "additionalProperties": true,
                          "properties": {
                            "hasMore": {
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "type": [
                                "null",
                                "string"
                              ]
                            }
                          },
                          "type": "object"
                        },
                        "posts": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "author": {
                                "additionalProperties": true,
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "username": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "domain": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "publishedAt": {
                                "type": "string"
                              },
                              "text": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              },
                              "title": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-27.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-27",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List Reddit subreddit posts",
        "tags": [
          "Reddit"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "reddit",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/reddit/reddit-subreddits-subreddit-posts",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "c3f990e4c369275d7953cc4ea62ac37439ad951716a401899dbaa3b01941ba50",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "slow",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-27",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "posts": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "author": {
                            "additionalProperties": true,
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "username": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "domain": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "publishedAt": {
                            "type": "string"
                          },
                          "text": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "reddit.subreddits.subreddit.posts",
          "path": "/apis/v1/reddit/subreddits/{subreddit}/posts"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
