---
updatedAt: 2025-09-11T17:43:40.000Z
agentTools:
  projectIndex: https://developer.realestateapi.com/llms.txt
---

# Create Saved Search API

## Example JSON Input Object

```
{
	"search_name": "Oklahoma City MLS Active SFR",
	"search_query": {
		"size": 1000,
		"mls_active": true,
		"property_type": "SFR",
		"city": "Oklahoma City",
		"state": "OK"
	},
	"meta_data": {
		"key_1": "test-metadata-value"
	}
}
```

<br />

## Example JSON Output Response Object

```
{
	"input": {
		"search_name": "Oklahoma City MLS Active SFR",
		"search_query": {
			"size": 1000,
			"mls_active": true,
			"property_type": "SFR",
			"city": "Oklahoma City",
			"state": "OK"
		},
		"meta_data": {
			"key_1": "test-metadata-value"
		}
	},
	"data": {
		"searchId": "5a90fb85-37c5-456f-b88f-dec52c0b8911",
		"searchName": "Oklahoma City MLS Active SFR",
		"xUserId": "x-user-id" 
	},
	"statusCode": 200,
	"statusMessage": "Success",
	"credits": 10
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "property-portfolio-apis",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.realestateapi.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/PropertyPortfolio/SavedSearch/Create": {
      "post": {
        "summary": "Create Saved Search API",
        "description": "",
        "operationId": "create-search-api",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "search_query": {
                    "type": "string",
                    "description": "Provide the Property Search query you'd like to create a Saved Search for"
                  },
                  "search_name": {
                    "type": "string",
                    "description": "Give a descriptive name to each of your searches"
                  },
                  "meta_data": {
                    "type": "object",
                    "description": "Up to 3 Metadata fields allowed",
                    "properties": {}
                  },
                  "list_size": {
                    "type": "integer",
                    "description": "Max of 10,000. Use zips for geo-based saved search approaches"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```