User Segmentation and pincode level support

I’m using Dify workflow, I need to pull selling prices based on locality (like pincode) and also based on user types (premium, normal, new user). Does Firecrawl support extracting prices this way? Specifically, can it handle geo-based pricing and differentiate by user type or session? If not, any tips on how to achieve this would be awesome.
1 Reply
Gaurav Chadha
Gaurav Chadha2w ago
yeah, you can achieve this with /search use this sample body which uses location parameter
{
"query": "property prices pincode 110001 Delhi",
"limit": 10,
"location": "IN",
"scrapeOptions": {
"formats": ["markdown", "json"],
"onlyMainContent": true,
"jsonOptions": {
"schema": {
"type": "object",
"properties": {
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {"type": "string"},
"location": {"type": "string"},
"property_type": {"type": "string"},
"area": {"type": "string"}
}
}
}
}
},
"prompt": "Extract all property prices, locations, and details from this page"
},
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}
}
}
{
"query": "property prices pincode 110001 Delhi",
"limit": 10,
"location": "IN",
"scrapeOptions": {
"formats": ["markdown", "json"],
"onlyMainContent": true,
"jsonOptions": {
"schema": {
"type": "object",
"properties": {
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {"type": "string"},
"location": {"type": "string"},
"property_type": {"type": "string"},
"area": {"type": "string"}
}
}
}
}
},
"prompt": "Extract all property prices, locations, and details from this page"
},
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}
}
}

Did you find this page helpful?