Fairmeme Documentation

The FairMeme Org. is kin on expanding and supporting innovation on the Algorand Blockchain. At such, we are building an open and simplified developer portal for all developers to contribute to the growth of the ecosystem with their knowledge to aid and encourage other developers to gaining easy access to lots of APIs and various tools for development.
All contributors receive 90% of revenue when their contributions are used.

Get started

    API Endpoint

        https://dev-api.fairmeme.org/
                

The Developer REST API provides you with access to most of the features we have on our Fairmeme Folio mobile application. It offers access to asset and account information basically. Feel free to explore the features with unlimited access.

To use this API, you need an Access token. Create an account via this link: https://developer.fairmeme.org/account/login.php to get yours.

Authentication is done via providing an Authorization header with the access token as its value as:

Authorization: FM_ACCESS_TOKEN

get assets


# Here is a curl example
curl https://dev-api.fairmeme.org/?get_assets=true
   -H "Authorization: {FM_ACCESS_TOKEN}"
                

To get all the list of assets available (listed) on Fairmeme, you call this endpoint:
https://dev-api.fairmeme.org/?get_assets=true



Result example :
{
    "assets":{
        "378382099":{
            "short_name":"TINY",
            "long_name":"Tinychart Token",
            "id":378382099,
            "total_supply":10000000,
            "market_cap":4113941.03959999978542327880859375,
            "creator":"4DS5QWDTH3LOMBWLKSL2FOJPRIPEA2XYISM72CDPSICZABB4TER5J53F6I",
            "decimals":"4",
            "url":"https:\/\/tinychart.org\/",
            "description":"",
            "price_1h":0.40125144706530913030206875191652216017246246337890625,
            "price_24h":0.41139410395579323331816112840897403657436370849609375,
            "asa_id":"378382099",
            "image":"https:\/\/algoexplorer.io\/images\/assets\/big\/light\/378382099.png",
            "pricechange_24h":2.939149945004074115928460741997696459293365478515625,
            "pricechange_1h":70.3025133423484049899343517608940601348876953125,
            "direction_1h":"up",
            "direction_24h":"up",
            "priceincrement_1h":0.95996923360527619539794841330149210989475250244140625,
            "priceincrement_24h":0.42153676084627733633425350490142591297626495361328125,
            "is_verified_asset":true,
            "price":0.41139410395579323331816112840897403657436370849609375,
            "direction":"down"
        }
    }
}

                

get asset


# Here is a curl example
curl https://dev-api.fairmeme.org/?get_asset=361940410
   -H "Authorization: {FM_ACCESS_TOKEN}"
                

To pick a single asset and get its details at the moment, you call this endpoint:
curl https://dev-api.fairmeme.org/?get_asset=asset_id



Result example :
{
    "short_name":"FairMeme",
    "long_name":"FairMeme Token",
    "image":"https:\/\/algoexplorer.io\/images\/assets\/big\/light\/361940410.png",
    "price_1h":1.020490666538371502701908351794235496612373026437126100063323974609375e-7,
    "price_24h":1.28941002428756851698463180115605819509028151514939963817596435546875e-7,
    "pricechange_24h":26.351966547350709646480027004145085811614990234375,
    "pricechange_1h":68.840441922110272798818186856806278228759765625,
    "direction_1h":"up",
    "direction_24h":"up",
    "priceincrement_1h":2.425511232259565822934701574686844338657465414144098758697509765625e-7,
    "priceincrement_24h":1.5583293820367653989184572420334529141427992726676166057586669921875e-7,
    "total_supply":1000000000000,
    "market_cap":128941.002399999997578561305999755859375,
    "description":"FairMeme firmly believes the Algorand ecosystem is the decentralized platform of the future and is dedicated to being the premier community-backed fundraising and Initial Distribution Offering(IDO) platform on the Algorand blockchain.\n\nCommunity is key when it comes to organic growth and adoption. We also believe that communities drive growth, adoption, and innovation. We intend to marry the innovation and power of Algorand and the blockchains, in the Algorand community have the opportunity to get the opportunity to few projects get offered to the of is dedicated to making Algorand, and its IDOs creating the premier decentralized fundraising and Initial Distribution Offering(IDO) platform on the Algorand blockchain. \n\n$FAIRMEME: The FairMeme Token \n\nThe $FAIRMEME token is a community token. Ownership of this token will grant priority access to, and benefits during, IDOs. Benefits will be proportional to the amount of $FAIRMEME held.\n\nHLDR Benefits \n\nHolders will receive airdrops from all IDO projects based on the amount of FairMeme token held in their wallet. \n\nHolders are also granted voting rights on changes to be made as the project develops.",
    "asa_id":361940410,
    "creator":"YUTRAOR4WDHRGT4CTN6NWV3RTXIYDZ7G6D4S54YWXSZSTGGHWHHN4LSMZI",
    "decimals":0,
    "url":"https:\/\/www.fairmeme.org",
    "is_verified_asset":true,
    "price":1.28941002428756851698463180115605819509028151514939963817596435546875e-7,
    "direction":"up",
    "id":361940410
}
                

QUERY PARAMETERS

Field Type Description
get_asset Integer ASA ID of the asset

get account


# Here is a curl example
curl https://dev-api.fairmeme.org/?account=NGNIG3RKJSAUZO3E3VDE74ADPBH5BYWTC76BVQ72ZMFTFR744RA7W3S77M
   -H "Authorization: {FM_ACCESS_TOKEN}"
                

To get characters you need to make a POST call to the following url :
https://dev-api.fairmeme.org/?account=wallet_address



Result example :
{
    "balance":{
        "value":881.0842878781669469390180893242359161376953125,
        "type":"up",
        "increment_percent":0,
        "increment_amount":0
    },
    "overview_balance":{
        "value":0
    },
    "assets":[
        {
            "short_name":"11MIKE10",
            "long_name":"11m10",
            "id":433100599,
            "total_supply":1000000000,
            "market_cap":196492.46729999998933635652065277099609375,
            "creator":"AHJRSKXRDEVHKCLTAPBUVIURL5AY4XDCOVB46JODJDEPWEMWWCCI5L362I",
            "decimals":"2",
            "url":"",
            "description":"",
            "price_1h":0.00014002181136177422791054547612787928301258943974971771240234375,
            "price_24h":0.000196492467329240235417164850417748311883769929409027099609375,
            "asa_id":"433100599",
            "image":"https:\/\/algoexplorer.io\/images\/assets\/big\/light\/433100599.png",
            "is_verified_asset":false,
            "pricechange_24h":40.3300961118650747039282578043639659881591796875,
            "pricechange_1h":68.055330308804030892133596353232860565185546875,
            "direction_1h":"up",
            "direction_24h":"up",
            "priceincrement_1h":0.0003306057648337691091955381494926768937148153781890869140625,
            "priceincrement_24h":0.000252963123296706215818729912570006490568630397319793701171875,
            "price":0.000196492467329240235417164850417748311883769929409027099609375,
            "direction":"up",
            "amount":198.4573920025326287941425107419490814208984375,
            "asset_amount":1010000
        }
    ],
    "algos_usd":469.65678372625671954665449447929859161376953125,
    "algos":279.724648999999999432475306093692779541015625
}
                

QUERY PARAMETERS

Field Type Description
account String Algorand Address to query