{"openapi":"3.0.3","info":{"title":"FindLoverHub Public API","version":"1.0.0","description":"Read-only public API for FindLoverHub (goodfanfan.xyz). No API key. Fair use: please keep to at most 1 request/second and 10,000 requests/day per client. All responses are JSON {ok, data} or {ok:false, error:{code,message}}. CORS: Access-Control-Allow-Origin: * on the read endpoints.","contact":{"email":"service@goodfanfan.xyz"}},"servers":[{"url":"https://goodfanfan.xyz"}],"paths":{"/api/listings/meta":{"get":{"summary":"Site totals: live posts, verified, countries, intent counts, per-country counts","responses":{"200":{"description":"Totals object"}}}},"/api/listings/all":{"get":{"summary":"List live posts, verified first","parameters":[{"name":"cat","in":"query","schema":{"type":"string","enum":["all","zhenghun","qinglv","pengyou"],"default":"all"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"maximum":10000,"default":0}}],"responses":{"200":{"description":"Page of posts"},"400":{"description":"Bad cat/offset"}}}},"/api/listings/search":{"get":{"summary":"Search live posts by nickname/city/country, optional intent and verified filter; member posts (self=1) first, aggregated posts after","parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":60}},{"name":"country","in":"query","schema":{"type":"string"}},{"name":"intent","in":"query","schema":{"type":"string","enum":["zhenghun","qinglv","pengyou"]}},{"name":"verified","in":"query","schema":{"type":"string","enum":["0","1"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"maximum":10000,"default":0}}],"responses":{"200":{"description":"Matching posts, hasMore flag"},"400":{"description":"Bad parameter"}}}},"/api/listings/item":{"get":{"summary":"One live post, by id or by sourceUrl","parameters":[{"name":"id","in":"query","schema":{"type":"integer"}},{"name":"sourceUrl","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"One post"},"400":{"description":"id or sourceUrl required"},"404":{"description":"Post not found or hidden"}}}}}}