Skip to main content

fakexy

Tool for getting results from fakexy.com

Installation

pip install fakexy

Usage

CLI

fakexy <URL> <COUNT>

outputs json in each line.

fakexy has aggressive cloudflare protection so browser might be necessary to solve captchas. You can then use --browser option to get cookies from browser or pass them directly with --header. You can also use --wait to wait in between requests, although cloudflare seems to trigger only after time of inactivity.

fakexy 'https://www.fakexy.com/uk-fake-address-generator-south-humberside' 10 --browser firefox --wait 0.8

fakexy 'https://www.fakexy.com/uk-fake-address-generator-south-humberside' 10 -w 0.2 -H 'Cookie: cf_clearance=LybymVQ3ndsXXwa8Q7fkMWvIEfdr6vzkuZnXVmOnhSI-1753001875-1.2.1.1-8Q.LhRHXQV4EhrUx6j3BvZ7B8AIMjJ2EpdwcNcNToLnOTIVIoaJ1aaKkI4c4Q91.88xR0cyndUbGTuJb2XpjQnBegVi0dekwpfIeo5GbN8PKUzpCvDc9z57yaupYVegaiYVPUn7ONOue5d.ZemaHTR73xGUZYQdRyg3pzGX_pE8_6KfB_XjhAI4vIOClihjXn33bS4dDsE_.Pyd2Kwsb7Pfa3EvAR3Ulw1SZDAqBsfFwQF6NXX7WxwhkqyPPXKoT' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0'

The tool supports all generators on site as long as they are passed by url.

fakexy 'https://www.fakexy.com/uk-fake-address-generator-south-humberside' 1
{
  "street": "Forest Rd",
  "city": "Loughborough",
  "region": "Leicestershire",
  "zipcode": "LE11 3HU",
  "phone": "01509 214624",
  "country": "United Kingdom",
  "latitude": "52.762695",
  "longitude": "-1.221896",
  "person": {
    "name": "Isabella Martin",
    "gender": "female",
    "birthday": "1993-01-31",
    "ssn": "ZZ 06 48 57 T"
  },
  "creditcard": {
    "brand": "Mastercard",
    "number": "5578297755756643",
    "expire": "2028/2",
    "cvv": "520"
  }
}
fakexy 'https://www.fakexy.com/random-animal-generator' 1
{
  "name": "Beaver",
  "image": "https://www.fakexy.com/random-animal-generator"
}
fakexy 'https://www.fakexy.com/us-fake-name-generator-mi' 1
{
  "name": "Dr. Georgiana Berge",
  "gender": "female",
  "birthday": "1991-09-01",
  "ssn": "377-37-6204",
  "address": {
    "street": "5388 Lapeer Rd",
    "city": "Kimball",
    "region": "Michigan",
    "zipcode": "48074",
    "phone": "(810) 987-6390",
    "country": "United States",
    "latitude": "42.98765",
    "longitude": "-82.539308"
  },
  "creditcard": {
    "brand": "Mastercard",
    "number": "5421293142231977",
    "expire": "2028/1",
    "cvv": "361"
  }
}
fakexy 'https://www.fakexy.com/fake-creditcard-generator-visa' 1
{
  "brand": "Visa",
  "number": "4485995438410356",
  "expire": "2030/6",
  "cvv": "660"
}
fakexy 'https://www.fakexy.com/fake-zipcode-generator-us' 1
{
  "zipcode": "74136",
  "abbrev": "OK",
  "city": "Tulsa"
}
fakexy 'https://www.fakexy.com/fake-phonenumber-generator-us' 1
{
  "phone": "(512) 339-9922",
  "abbrev": "TX",
  "city": "Austin"
}

Library

Code

from fakexy import fakexy
import requests

fxy = fakexy(wait=1.2,browser="firefox")

try:
    for i in fxy.guess(r'https://www.fakexy.com/fake-address-generator-de', count=80):
        print(i)
except requests.RequestException:
    pass

Methods

animals, addresses, names, creditcards, phones and zipcodes methods take url to resource and optionally count of elements to return through generator. count can be arbitrarily large since it'll split into multiple api calls.

Resources fall into many categories and i didn't bother with creating a complete list of them, that's why all of these functions take url, if you need something just find it on the site.

All of the aforementioned methods can be replaced by calling guess which takes the same arguments, but also discerns which of them to call based on it, returning their ourput.

Metadata

Release files for fakexy 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fakexy 0.0.2
File Size Uploaded Provenance Actions
fakexy-0.0.2.tar.gz 17.9 kB Without provenance Details for fakexy-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fakexy 0.0.2
File Interpreter ABI Platform Actions
fakexy-0.0.2-py3-none-any.whl Python 3 none any Details for fakexy-0.0.2-py3-none-any.whl

Total release size: 36.7 kB

Release files / fakexy-0.0.2.tar.gz

Download URL fakexy-0.0.2.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
50306c018de3664824d5bc112c30ecbb5f3418bfaf8d4e88956795356e68907c
BLAKE2b-256 checksum
How to use checksums
e5bff604db21219331f42f1b5846902b40eb8a81a44b200b54e8810688033276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / fakexy-0.0.2-py3-none-any.whl

Download URL fakexy-0.0.2-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
967c333b650e8f13152bb063552db445e9e0a01944e7bda2856e04cae2d8b836
BLAKE2b-256 checksum
How to use checksums
59ee33c6f3b469ef669283f3e31667369a1375375a06833baeb925296294db57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for fakexy 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page