Free Utilities

MJWebs API

Explore our free API endpoints for use in your own applications.

Phone Validator Beta

Phone number data intelligence using Google's libphonenumber. Supports partially entered phone number input - useful for live formatting.

Up to 500 requests per minute

Request

curl "https://api.mjwebs.com/v1/validate-phone?phone=0412345678&country=AU"

Response

              {
    "formatted": "0412 345 678",
    "valid": true,
    "region": "AU",
    "type": "mobile",
    "e164": "+61412345678",
    "rfc3966": "tel:+61-412-345-678",
    "international": "+61 412 345 678",
    "national": "0412 345 678",
    "carrier": "Optus",
    "timezone": [
        "Australia\/Adelaide",
        "Australia\/Brisbane",
        "Australia\/Eucla",
        "Australia\/Lord_Howe",
        "Australia\/Perth",
        "Australia\/Sydney",
        "Indian\/Christmas",
        "Indian\/Cocos"
    ]
}            

QR Code Generator Beta

Tool for generating a PNG QR code for a URL.

Up to 500 requests per minute

Request

curl "https://api.mjwebs.com/v1/qr-code?url=www.mjwebs.com" > mjwebs-qr-code.png

Address Validator Beta

Tool for parsing/normalising street addresses around the world using statistical NLP and open data.

Up to 500 requests per minute

Request

curl "https://api.mjwebs.com/v1/validate-address?address=Level%2035%20100%20Barangaroo%20Ave%20Barangaroo%20NSW%202000"

Response

              {
    "parsed": [
        {
            "label": "level",
            "value": "level 35"
        },
        {
            "label": "house_number",
            "value": "100"
        },
        {
            "label": "road",
            "value": "barangaroo ave"
        },
        {
            "label": "suburb",
            "value": "barangaroo"
        },
        {
            "label": "state",
            "value": "nsw"
        },
        {
            "label": "postcode",
            "value": "2000"
        }
    ],
    "expanded": [
        "level 35 100 barangaroo avenue barangaroo new south wales 2000",
        "level 35 100 barangaroo avenue barangaroo nsw 2000"
    ]
}